Motherboard Sensors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • eSolTec, Inc. 501(c)(3)

    Motherboard Sensors

    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
  • Lars Graeve

    #2
    Re: Motherboard Sensors

    Hello Michael,

    have a look to the Win32_Temperatu reProbe class [WMI]. By using the
    ManagementObjec tSearcher you can gather several information.

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

    Dim searcher As New System.Manageme nt.ManagementOb jectSearcher("S ELECT *
    FROM Win32_Temperatu reProbe")

    For Each service As System.Manageme nt.ManagementOb ject In searcher.Get()
    System.Console. Write(service(" Name").ToString & ": ")
    System.Console. WriteLine(servi ce("CurrentRead ing").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)" <eSolTecInc501c 3@discussions.m icrosoft.com>
    schrieb im Newsbeitrag
    news:CBC0E60E-B8AC-4C1D-BC34-C3AD94C076F9@mi crosoft.com...
    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

    Comment

    Working...