Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
hi.how can i get cpu tempture in C#.
 
i got cpu usage easy.now i trying get cpu tempture. please help!!!
Posted 12-Nov-12 0:14am
mr.dd874
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

http://msdn.microsoft.com/en-us/library/aa389273.aspx[^]
 
you can use above link to check the library available to read hardware info.
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

There is no generic way to do that - it depends on teh motherbvoard manufacturer.
See here for code which may work, but which probably won't!
Retrieving CPU Temperature using C#[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

I'm pretty sure its manufacturer dependent, since they will be accessed through an I/O port. If you have a specific board you're trying to work with, try looking through the manuals and/or contacting the manufacturer.
 
If you want to do this for a lot of different boards, I'd recommend contacting someone at something like SiSoftware or be prepared to read a LOT of motherboard manuals.
 
As another note, not all boards have temperature monitors.
 
You also might run into problems getting privileged access from the kernel.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 685
1 Manas Bhardwaj 380
2 OriginalGriff 344
3 Abhinav S 293
4 Sampath Lokuge 245
0 Sergey Alexandrovich Kryukov 7,967
1 OriginalGriff 4,332
2 Peter Leow 3,699
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 15 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid