Can't get OpenHardwareMonitorLib.dll to work
问题 I've found very few examples of how to get OHM working in c# using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenHardwareMonitor.Hardware; namespace OpenHardwareMonitorReport { class Program { static void Main(string[] args) { Computer computer = new Computer(); computer.Open(); var temps = new List<decimal>(); foreach (var hardware in computer.Hardware) { if (hardware.HardwareType != HardwareType.CPU) continue; hardware.Update(); foreach (var