Temperature sensor with VB.Net

F

Freddy Coal

Hi, I would like get the current value of the processor temperature, fan
speed and other data if possible. How I can get that with vb.net?

I'm reading about WMI, but I don't understand how use that, this is my code:

Dim query As New SelectQuery("CIM_TemperatureSensor")
Dim search As New ManagementObjectSearcher(query)
Dim info As ManagementObject

For Each info In search.Get()
txtOutput.Text = info("Status").ToString() & vbCrLf
Next

Thanks in advance for any help.

Freddy Coal
 
G

Guest

Freddy,

You will find several useful results if you google for: wmi .net
temperature

Kerry Moorman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top