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 1: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
0 OriginalGriff 190
1 Jochen Arndt 155
2 PIEBALDconsult 150
3 Afzaal Ahmad Zeeshan 120
4 DamithSL 115
0 OriginalGriff 5,695
1 DamithSL 4,591
2 Maciej Los 4,012
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100