MyGit

LibreHardwareMonitor/LibreHardwareMonitor

Fork: 680 Star: 5812 (更新于 2024-12-07 23:44:09)

license: MPL-2.0

Language: C# .

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

最后发布版本: v0.9.3 ( 2023-12-31 20:55:06)

GitHub网址

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.7.2 Build status
LibreHardwareMonitorLib
Library that allows you to use all features in your own application
.NET Framework 4.7.2, .NET 6.0, and .NET 8.0 Build status

What can it do?

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.

Nightly builds

If you have a GitHub account, you can download nightly builds here. Otherwise, you can download the latest nightly build here.

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.

Developer information

Integrate the library in own application

  1. Add the LibreHardwareMonitorLib NuGet package to your application.
  2. Use the sample code below.

Sample code

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();
}

Administrator rights

Some sensors require administrator privileges to access the data. Restart your IDE with admin privileges, or add an app.manifest file to your project with requestedExecutionLevel on requireAdministrator.

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.

最近版本更新:(数据更新于 2024-10-02 02:35:41)

2023-12-31 20:55:06 v0.9.3

2023-03-22 17:06:50 v0.9.2

2022-09-14 19:44:13 v0.9.1

2022-05-01 21:31:08 v0.9.0

2021-11-05 19:02:26 v0.8.9

2021-08-16 20:00:34 v0.8.8

2021-02-09 22:11:38 v0.8.7

2020-11-20 16:42:45 v0.8.6

2020-10-30 00:14:30 v0.8.5

主题(topics):

free, hacktoberfest, hardware, hardware-monitoring, libre-hardware-monitor, monitor, monitoring, open-source, opensource, system, system-monitor, system-monitoring

LibreHardwareMonitor/LibreHardwareMonitor同语言 C#最近更新仓库

2024-12-20 06:41:40 microsoft/PowerToys

2024-12-07 22:15:43 Pik-4/HsMod

2024-12-01 20:18:03 BililiveRecorder/BililiveRecorder

2024-11-26 14:48:43 Azure/azure-sdk-for-net

2024-11-19 11:38:46 jellyfin/jellyfin

2024-11-15 10:33:01 DigitalRuby/IPBan