Coder Social home page Coder Social logo

phamasaur / librehardwaremonitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from librehardwaremonitor/librehardwaremonitor

0.0 0.0 0.0 3.5 MB

Libre Hardware Monitor, home of the fork of Open Hardware Monitor

License: Mozilla Public License 2.0

C# 94.10% C 1.74% CSS 0.11% HTML 0.14% JavaScript 2.53% Python 0.31% C++ 1.07%

librehardwaremonitor's Introduction

LibreHardwareMonitor

GitHub license Nuget Nuget (with prereleases) Nuget

Libre Hardware Monitor, a fork of Open Hardware Monitor, is free software that can monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer.

What's included?

Name .NET Build Status
LibreHardwareMonitor
Windows Forms based application that presents all data in a graphical interface
.NET Framework 4.5.2 Build status
LibreHardwareMonitorLib
Library that allows you to use all features in your own application
.NET Framework 4.5.2,
.NET Standard 2.0,
.NET 5.0.0
Build status

What can you do?

With the help of LibreHardwareMonitor you can read information from devices such as:

  • Motherboards
  • Intel and AMD processors
  • NVIDIA and AMD graphics cards
  • HDD, SSD and NVMe hard drives
  • Network cards

Where can I download it?

You can download the latest release here.
If you're signed in to GitHub, you can also download the latest builds here. Click on a result and download Binaries under Artifacts.

How can I help improve it?

The LibreHardwareMonitor team welcomes feedback and contributions!
You can check if it works properly on your motherboard. For many manufacturers, the way of reading data differs a bit, so if you notice any inaccuracies, please send us a pull request. If you have any suggestions or improvements, don't hesitate to create an issue.

What's the easiest way to start?

LibreHardwareMonitor application: - How to compile the application

  1. Download the repository and compile 'LibreHardwareMonitor'.
  2. You can start the net452\LibreHardwareMonitor.exe application immediately.

NuGet Package - How to use NuGet

  1. Add the LibreHardwareMonitorLib package to your application.
  2. References will be added automatically, you can use the sample code below.

Sample code: - How to add C# reference

  1. Download the repository and compile 'LibreHardwareMonitorLib'.
  2. Add references to 'LibreHardwareMonitorLib.dll' and 'HidSharp.dll' in your project.
  3. In your main file, add namespace using LibreHardwareMonitor.Hardware;
  4. Now you can read most of the data from your devices.
/*
 * Example for .NET Framework
 */
public class UpdateVisitor : IVisitor
{
    public void VisitComputer(IComputer computer)
    {
        computer.Traverse(this);
    }
    public void VisitHardware(IHardware hardware)
    {
        hardware.Update();
        foreach (IHardware subHardware in hardware.SubHardware) subHardware.Accept(this);
    }
    public void VisitSensor(ISensor sensor) { }
    public void VisitParameter(IParameter parameter) { }
}

public void Monitor()
{
    Computer computer = new Computer
    {
        IsCpuEnabled = true,
        IsGpuEnabled = true,
        IsMemoryEnabled = true,
        IsMotherboardEnabled = true,
        IsControllerEnabled = true,
        IsNetworkEnabled = true,
        IsStorageEnabled = true
    };

    computer.Open();
    computer.Accept(new UpdateVisitor());

    foreach (IHardware hardware in computer.Hardware)
    {
        Console.WriteLine("Hardware: {0}", hardware.Name);
        
        foreach (IHardware subhardware in hardware.SubHardware)
        {
            Console.WriteLine("\tSubhardware: {0}", subhardware.Name);
            
            foreach (ISensor sensor in subhardware.Sensors)
            {
                Console.WriteLine("\t\tSensor: {0}, value: {1}", sensor.Name, sensor.Value);
            }
        }

        foreach (ISensor sensor in hardware.Sensors)
        {
            Console.WriteLine("\tSensor: {0}, value: {1}", sensor.Name, sensor.Value);
        }
    }
    
    computer.Close();
}

License

LibreHardwareMonitor is free and open source software licensed under MPL 2.0. You can use it in private and commercial projects. Keep in mind that you must include a copy of the license in your project.

librehardwaremonitor's People

Contributors

aquacomputer avatar cobrafast avatar crevetor avatar damieng avatar darthdestroyer avatar dernerv avatar dwilhelm avatar fboldog avatar hirschmann avatar javguit avatar joebroesele avatar kolos avatar lordofdoom avatar maddimax avatar mifcom-td avatar minercrafter avatar moellerm avatar moshimoshi0 avatar nickbabcock avatar phyxion avatar phyxionnl avatar pomianowski avatar qwertydog avatar rem0o avatar rmattuschka avatar sebastian-dev avatar seckar avatar w-michal avatar werelds avatar zeule avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.