Motherboard Sensors

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Thank you in advance for any and all assistance, it is GREATLY appreciated.
Two questions;
1. Is there a way in VB.NET 2005 to query a motherboard to see if there are
certain sensors? i.e. CPU temp sensor, Fan speed sensor, hard drive temp
sensors etc?
2. Is there a way to Get the information, if it's available into VB.NET 2005?

Michael
 
Hello Michael,

have a look to the Win32_TemperatureProbe class [WMI]. By using the
ManagementObjectSearcher you can gather several information.

Example (I couldn't verify it, cause my mainboard does not report
temperatures):
Private Sub listTemperatures()

Dim searcher As New System.Management.ManagementObjectSearcher("SELECT *
FROM Win32_TemperatureProbe")

For Each service As System.Management.ManagementObject In searcher.Get()
System.Console.Write(service("Name").ToString & ": ")
System.Console.WriteLine(service("CurrentReading").ToString & "°C")
Next service

End Sub


Other system information might be found in other WMI classes (see MSDN).

Greetings, Lars



"eSolTec, Inc. 501(c)(3)" <[email protected]>
schrieb im Newsbeitrag
news:[email protected]...
 
Back
Top