Hello,
I am developing a little utility that will check the CPU utilisation, Memory Utilisation,
Hard Disk Utilisation and the Temperature check for the System and the Mother Board, using C#
I have done till the Information about CPU, Memory, Hard Disk but when it comes to Temperature,
I can not find any clue how to do it,
I have tried the WMI classes (Win32_TemperatureProbe) but nothing.
The utilities available on the net are able to find the temperature, so it can be done, but how I do not know.
If any body can help me I will be very happy.
Hi,
Hopefully I am able to contribute.
I also searched for a way to retrieve CPU temperature data, (tried WMI) and almost gave up.
Until i came across :http://openlibsys.org/.
The DLL wil give you acces to the the IA32_TERM_STATUS registry in the Machine System Registry.
As far as i have been able to test it will only work on Intel Core processors and/or newer. (pentium 4 doesnt return anything). Maybe these older processors dont use Digital Thermal Sensors?
It doesnt directly retrieve youre core temperatures, but retrieves the value to the thermal Junction of your processor. (This TJ value can differ depending on Model or Stepping)
So for example if you set the Thermal Junction to 100 and you retrieved 67 out of the registry the temperature would be 100 - 67 = 33 C.
Hope this helpes,
MSH84