![]() ![]() it only needs OpenHardwareMonitorLib.dll to work, no need to OpenHardwareMonitor.exe running. exe which shows 3 first fans speed at each launch. If (sensor.SensorType = SensorType.Fan & ("Fan #3", StringComparison.OrdinalIgnoreCase))Ĭonsole.WriteLine((string)sensor.Name + ": " + Convert.ToString((int)(float)sensor.Value)) Ĭompiled in VS, it outputs an. If(sensor.SensorType = SensorType.Fan & ("Fan #2", StringComparison.OrdinalIgnoreCase)) If(sensor.SensorType = SensorType.Fan & ("Fan #1", StringComparison.OrdinalIgnoreCase))Ĭonsole.WriteLine((string) sensor.Name + ": " + Convert.ToString((int) (float) sensor.Value)) is it possible for a C ++ guru to adapt this code for a Rainmeter plugin ?įoreach(var hardware in thisComputer.Hardware)įoreach(var subhardware in hardware.SubHardware)įoreach(var sensor in subhardware.Sensors) OHM is a software I especially apreciated and Rainmeter. If (sensor.SensorType = SensorType.Temperature)Ĭonsole.WriteLine("", sensor.Name, sensor.Hardware, sensor.SensorType, sensor.Value) ĭo not like doing that, but my knowledge of C ++ are more than light. I look for a way to communicate with Rainmeter Open Hardware Monitor. Protected virtual void ActivateSensor(ISensor sensor)įoreach (var hardwareItem in m圜omputer.Hardware)Ĭonsole.WriteLine(hardwareItem.GetReport()) įoreach (var sensor in hardwareItem.Sensors) Public event SensorEventHandler SensorRemoved ![]() Public event SensorEventHandler SensorAdded Protected readonly ListSet active = new ListSet() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |