Reading CPU temperature in Windows XP-VBForums
Results 1 to 5 of 5

Thread: Reading CPU temperature in Windows XP

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    26

    Reading CPU temperature in Windows XP

    How do I read the CPU temperature in Windows XP? I think with modern CPUs that have the temp sensor built in there is a common API or some such in Windows XP. Anyone know how this can be done in Visual Basic.net?

  2. #2
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,727

    Re: Reading CPU temperature in Windows XP

    Hi ! Welcome to VBForums !

    AFAIK, there is no standard API to do this. It depends on your motherboard and drivers.

    If you have ASUS m/b, you can use GetCPUTemperature function from asus.dll. (see Post#18 of this thread.)

    Related thread: http://www.vbforums.com/showthread.php?t=184683
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    26

    Re: Reading CPU temperature in Windows XP

    Thank you. Well I do think Windows XP the OS actually obtains the CPU temperature though ACPI. For example about the program MobileMeter it mentions "MobileMeter relies on the OS for obtaining the CPU temperature". This led me to believe there is a standard method for obtaining CPU temperature in new computers if running Windows XP or newer. I just need to find out how. MobileMeter works with many different setups and manufacturers.

    http://tamaru.homeip.net/~shingo/mob...terreadme1.htm

    Anyone else care to chime in?

  4. #4
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    Re: Reading CPU temperature in Windows XP

    Even Microsoft says it can't be done:- http://msdn.microsoft.com/library/de...atureprobe.asp
    The CurrentReading property's presence is reserved for future use.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    26

    Re: Reading CPU temperature in Windows XP

    OK, I will ask the author of the MobileMeter program. You never know... Somehow i should be able to do it I just need to know how to read the sensor in this computer I guess.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.