OpenHardwareMonitorLib 1.0.9307
dotnet add package OpenHardwareMonitorLib --version 1.0.9307
NuGet\Install-Package OpenHardwareMonitorLib -Version 1.0.9307
<PackageReference Include="OpenHardwareMonitorLib" Version="1.0.9307" />
<PackageVersion Include="OpenHardwareMonitorLib" Version="1.0.9307" />
<PackageReference Include="OpenHardwareMonitorLib" />
paket add OpenHardwareMonitorLib --version 1.0.9307
#r "nuget: OpenHardwareMonitorLib, 1.0.9307"
#addin nuget:?package=OpenHardwareMonitorLib&version=1.0.9307
#tool nuget:?package=OpenHardwareMonitorLib&version=1.0.9307
Open hardware monitor
Open hardware monitor - is free software that can monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer.
This application is based on the "original" openhardwaremonitor project.
Features
What can it do?
You can see information about devices such as:
- Motherboards
- Intel and AMD processors
- RAM
- NVIDIA and AMD graphics cards
- HDD, SSD and NVMe hard drives
- Network cards
- Power suppliers
- Laptop batteries
Additional features
Remote web-server
mode for browsing data from remote machine with custom port and authentication.Hide/Unhide
sensors to remove some data from UI and web server.- Multiple
Tray icons
andGadget
for selected sensor values. Light
/Dark
themes with auto switching mode.- Custom
color-themes
from external files - You can find examples here Portable
mode for storing temporary driver file and settings configuration next to the executable file.Updated versions check
- manually from main menu.
Note: Some sensors are only available when running the application as administrator.
UI example with Light
/Dark
themes
Download
The published version can be obtained from releases.
Developer information
Integrate the library in own application
- Add the OpenHardwareMonitorLib NuGet package to your application.
- Use the sample code below or the test console application from here
Sample code
class HardwareInfoProvider : IVisitor, IDisposable {
private readonly Computer computer;
public HardwareInfoProvider() {
computer = new Computer {
IsCpuEnabled = true,
IsMemoryEnabled = true,
};
computer.Open(false);
}
internal float Cpu { get; private set; }
internal float Memory { get; private set; }
public void VisitComputer(IComputer computer) => computer.Traverse(this);
public void VisitHardware(IHardware hardware) => hardware.Update();
public void VisitSensor(ISensor sensor) { }
public void VisitParameter(IParameter parameter) { }
public void Dispose() => computer.Close();
internal void Refresh() {
computer.Accept(this);
var cpuTotal = computer.Hardware.FirstOrDefault(h => h.HardwareType == HardwareType.Cpu)?.Sensors.FirstOrDefault(s => s.SensorType == SensorType.Load && s.Name == "CPU Total");
Cpu = cpuTotal?.Value ?? -1;
var memorySensorName = "Physical Memory Available"; //"Virtual Memory Available";
var memUsed = computer.Hardware.FirstOrDefault(h => h.HardwareType == HardwareType.Memory)?.Sensors.FirstOrDefault(s => s.SensorType == SensorType.Data && s.Name == memorySensorName);
Memory = (memUsed == null || !memUsed.Value.HasValue) ? -1 : memUsed.Value.Value * 1024; //GB -> MB
}
}
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.
How can I help improve it?
The OpenHardwareMonitor team welcomes feedback and contributions!<br/> 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.
Also, don't forget to star the repository to help other people find it.
Donate!
Every cup of coffee you donate will help this app become better and let me know that this project is in demand.
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Microsoft.Win32.Registry (>= 5.0.0)
- RAMSPDToolkit-NDD (>= 1.1.4)
- sergiye.Common (>= 1.0.9301)
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- System.IO.Ports (>= 9.0.6)
- System.Management (>= 9.0.6)
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
- Mono.Posix.NETStandard (>= 1.0.0)
- RAMSPDToolkit-NDD (>= 1.1.4)
- sergiye.Common (>= 1.0.9301)
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- System.IO.Ports (>= 9.0.6)
- System.Management (>= 9.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.