|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Motherboard SensorsThank 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)" <eSolTecInc50***@discussions.microsoft.com> schrieb im Newsbeitrag Show quoteHide quote news:CBC0E60E-B8AC-4C1D-BC34-C3AD94C076F9@microsoft.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
problems with compacting
Directly Passing Variables Publish Version number Adding Help To My Application Exception HRESULT: 0x800401A8 in Excel with VB .Net comparing values in ARRAYLISTS How to remove last line in a file DirectCast Timeout issue HttpWebResponse ClickOnce question New VS.2005 File format for windows-forms ( spliited into form1.designer.vb and form1.vb ) |
|||||||||||||||||||||||