How to get processor temperature in c / c ++ / vb.net/c#?

How to get processor temperature using c / C ++ / vb.net/c#? I already found this link Get CPU Temperature in .Net , but I'm not sure if this really works.

Also I would like to know if there is a way other than using wmi requests.

+3
source share
2 answers

This can be done in code through WMI. I found a tool from Microsoft that creates code for it.

The WMI code writer allows you to create VBScript, C #, and VB.NET code that uses WMI to perform management tasks, such as querying for management data, executing a method from the WMI class, or receiving event notifications using WMI.

You can download here .

+1
source

You can not use wmi class Win32_TemperatureProbe , at least when I request it, I did not get, and it seems to be common.

I found this custom C # driver that someone wrote for information:

http://temperature.myweb.hinet.net/index_en.htm

It includes the source code.

0
source

Source: https://habr.com/ru/post/1729992/


All Articles