CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2013

    Thumbs up Getting CPU Temperature WITH vb.net

    Hi, I'm trying to get the CPU temperature and Fan speed throgh MBM5 or SpeedFan's shared memory into a string in my program. I've so far been unlucky. Somebody already told me to try win32_temperatureprobe class in System.Management but MSDN says that this is not useful to get temperatures because it can't read a real-time value (stupid machines...):8-0:

    So, anyone knows how to do it?

  2. #2
    Join Date
    Jul 2001
    Sunny South Africa

    Re: Getting CPU Temperature WITH vb.net

    The best solution might be to use the MSAcpi_ThermalZoneTemperature class in WMI. With this class, you'd need to convert it to Celsius from Kelvin ( i think - studying electronics ) But, if your motherboard does not support WMI calls, you are out of luck and there is nothing you'll be able to do.

Tags for this Thread

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.