Reading temperature values
-
Hi everyone, I'm working on a monitoring app in C# and would like to retrieve the temperatures of various sensors on my motherboard. I'm specifically interested in the CPU and motherboard temperature sensors. My first thought was to use WMI to read these values. I've tried the Win32_TemperatureProbe table among others, but the CurrentReading prop is not populated. (More info see MSDN article here) I've found that the sensors should be accessible through the SMBUS on the mainbord. So my question to the community: Does anyone know how to read CPU and mainbord temp sensors? Or can you help me to gain access to the SMBus? I've been told these values should be quite easy to read using some low-level bios access (using assembly), but I'm looking for a way to get these values using C# and .NET 2.0 framework. Any help would be greatly appreciated! Thanks in advance! Tim Wuytens
-
Hi everyone, I'm working on a monitoring app in C# and would like to retrieve the temperatures of various sensors on my motherboard. I'm specifically interested in the CPU and motherboard temperature sensors. My first thought was to use WMI to read these values. I've tried the Win32_TemperatureProbe table among others, but the CurrentReading prop is not populated. (More info see MSDN article here) I've found that the sensors should be accessible through the SMBUS on the mainbord. So my question to the community: Does anyone know how to read CPU and mainbord temp sensors? Or can you help me to gain access to the SMBus? I've been told these values should be quite easy to read using some low-level bios access (using assembly), but I'm looking for a way to get these values using C# and .NET 2.0 framework. Any help would be greatly appreciated! Thanks in advance! Tim Wuytens
Maybe this can help you: http://www.codeproject.com/csharp/unmanage.asp[^]
#region signature my articles #endregion
-
Maybe this can help you: http://www.codeproject.com/csharp/unmanage.asp[^]
#region signature my articles #endregion
Thank you! This could indeed be helpful! This article explains how to execute assembly code from c#, however I don't know any assembly myself. Can anyone point me to some information to read the sensors with assembly? Thanks! Tim Wuytens
-
Thank you! This could indeed be helpful! This article explains how to execute assembly code from c#, however I don't know any assembly myself. Can anyone point me to some information to read the sensors with assembly? Thanks! Tim Wuytens
No I don't know :( This might give you a little bit more information http://www.thescripts.com/forum/thread382910.html
#region signature my articles #endregion
-
Hi everyone, I'm working on a monitoring app in C# and would like to retrieve the temperatures of various sensors on my motherboard. I'm specifically interested in the CPU and motherboard temperature sensors. My first thought was to use WMI to read these values. I've tried the Win32_TemperatureProbe table among others, but the CurrentReading prop is not populated. (More info see MSDN article here) I've found that the sensors should be accessible through the SMBUS on the mainbord. So my question to the community: Does anyone know how to read CPU and mainbord temp sensors? Or can you help me to gain access to the SMBus? I've been told these values should be quite easy to read using some low-level bios access (using assembly), but I'm looking for a way to get these values using C# and .NET 2.0 framework. Any help would be greatly appreciated! Thanks in advance! Tim Wuytens
you can collect such datas through ACPI I recommend to see NHC (Notebook Hardware Control) however it's for notebooks but I installed it on my Desktop and it works! atleast get voltage values and temps http://www.pbus-167.com/nhc/nhc_advanced.htm[^] good luck
-
you can collect such datas through ACPI I recommend to see NHC (Notebook Hardware Control) however it's for notebooks but I installed it on my Desktop and it works! atleast get voltage values and temps http://www.pbus-167.com/nhc/nhc_advanced.htm[^] good luck
DO you know if the developer has managed to get a version working in Vista yet?
-- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
-
DO you know if the developer has managed to get a version working in Vista yet?
-- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
The latest version works well on vista I installed it On Dell XPS -Vista Home Premium (the bugfix version) http://www.p35-forum.de/files/nhc_2.0_pre_release_06_dell.zip[^]