Read GPU temperature in C#

Andy picture Andy · Dec 8, 2013 · Viewed 7.1k times · Source

I want to create a program that monitors my GPU's temperature (AMD ATI HD) and if it goes below say 50C to send me an email.

I know how to send an email - I just have no idea on how to get the temerature :/

Any help would be awesome!

Running Visual Studio - for Windows Forms (or Java works too!)

Andy

Answer

David Pilkington picture David Pilkington · Dec 8, 2013

I I suggest that you have a look at the OpenHardwareMonitor Project over here

The Open Hardware Monitor is a free open source software that monitors temperature sensors, fan speeds, voltages, load and clock speeds of a computer.

The Open Hardware Monitor supports most hardware monitoring chips found on todays mainboards. The CPU temperature can be monitored by reading the core temperature sensors of Intel and AMD processors. The sensors of ATI and Nvidia video cards as well as SMART hard drive temperature can be displayed. The monitored values can be displayed in the main window, in a customizable desktop gadget, or in the system tray. The Open Hardware Monitor software runs on 32-bit and 64-bit Microsoft Windows XP / Vista / 7 and any x86 based Linux operating systems without installation.

They are open source and you should be able to check out their code and have a look there.