C# Obtain Motherboard Sensor Data

3gmac

Active Member
Joined
Jun 9, 2006
Messages
79
Reaction score
0
Hey does anyone know how to read the CPU tempreture & fan speed in software??? I am certain it must be some memory location, but Google has let me down! :( :confused:

EDIT: Oh yes, I am using C#, but any information\language will do. Thanks.
 
to obtain that kind of information in .net, you make use of the System.Management namespace. I wrote a little test app a while ago in .net 1.1 that retrieved information about my laptop (battery % left etc).

I also came across a test app with a sample solution for reading the CPU temp. I haven't checked it out, but looks like what you may be looking for.
http://geekswithblogs.net/cicorias/archive/2006/11/22/97855.aspx

If that's not what you want, do some more searching for samples of WMI (Window Management Instrumentation) and the System.Management namespace.

Just keep in mind that this kind of information won't be available for each and every system your app runs on.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X