Re: Monitor BIOS Temp

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



SInt32 is "signed int" or simply an int.

Willy.

"Chris Fink" <ChrisFink@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:564731C1-CEF1-4357-96F4-1A077A62A588@xxxxxxxxxxxxxxxx
>I have determined that in order to read the temperature from the BIOS I
>need
> to access the Win32_TemperatureProbe class. In this class, exists a
> CurrentReading property which is type sint32. This sint32 type contains
> Description of type string which contains the temperature value. My
> question, is how do I get the value of this description field under the
> CurrentReading? My main problem is that I do not know how to cast to
> sint32
> type since it is not defined.
>
>
> ManagementClass processClass = new
> ManagementClass(@"root\cimv2:Win32_TemperatureProbe");
> foreach (ManagementObject service in processClass.GetInstances())
> {
> Console.WriteLine("Service = " +
> service.GetPropertyValue("CurrentReading.Description"));
> }
>
>
> "Reginald Blue" wrote:
>
>> Chris Fink wrote:
>> > My motherboard has two temperature probes on the motherboard. One to
>> > measure case temp, the other to measure CPU temp. This PC is used as
>> > an HTPC, so adequate cooling is always a concern.
>> >
>> > I would like to write a C# app service that monitors the temp and
>> > displays it on screen when the limits are exceeded. First question,
>> > is how do I retrieve these temperature values from the BIOS using C#?
>> > Second, how do I write a transparent warning on top of all other
>> > windows that displays a warning. The PC is mainly used for watching
>> > movies and it would be nice if the on screen display would just pop
>> > up during the movie when needed. This app will also perform a PC
>> > shutdown when temps get too high, especially since the pc is always
>> > on.
>>
>> Just FYI, not to discourage your programming attempt, you could just use
>> this:
>>
>> http://www.pcworld.com/downloads/file_description/0,fid,7309,00.asp
>>
>> --
>> Reginald Blue
>> "I have always wished that my computer would be as easy to use as my
>> telephone. My wish has come true. I no longer know how to use my
>> telephone."
>> - Bjarne Stroustrup (originator of C++) [quoted at the 2003
>> International Conference on Intelligent User Interfaces]
>>
>>
>>


.



Relevant Pages

  • Re: Many problems with a P5GD2-X board
    ... > I use Asus Probe 2 to read temperature ... > The room temp. ... I updated BIOS, enter windows and without any stress ... the board temp was now 48C!!! ...
    (alt.comp.periphs.mainboard.asus)
  • Re: A8N shutdown temprature
    ... Is there a way to set a temperature in the bios where by the PC shuts ... The cpu temp is monitored in ASUS Probe utility and you can ... set the threshold temp for an alarm to go off (then you can shut ...
    (alt.comp.periphs.mainboard.asus)
  • Re: New Build - Was wandering about the temperature ranges.
    ... running normal with a idle temp of 46C. ... I have the same CPU as you, and my motherboard CLAIMS that the CPU temperature is 23 deg.C, in a room where the ambient temperature is 24 deg C. Motherboard reports 43; ... I don't know what the situation is with your motherboard (and Bios - because different Bioses can report different temperatures with the same hardware). ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Monitor BIOS Temp
    ... I have determined that in order to read the temperature from the BIOS I need ... CurrentReading property which is type sint32. ... Description of type string which contains the temperature value. ... >> measure case temp, the other to measure CPU temp. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: pci intake fan
    ... > Alex Fraser wrote: ... > Those temps are just sitting in the BIOS. ... > by ambient temp, do you mean temp in te house or in the case? ... I meant the temperature in the room. ...
    (uk.comp.homebuilt)