在C#中获取CPU温度 [英] get cpu tempture in C#
本文介绍了在C#中获取CPU温度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨.如何在C#中获得CPU温度.
我获得了cpu的用法easy.now我正在尝试获得cpu的温度.请帮助!!
hi.how can i get cpu tempture in C#.
i got cpu usage easy.now i trying get cpu tempture. please help!!!
推荐答案
请参阅 http://stackoverflow.com/questions/1195112/how-to-get-cpu-temperature [
^ ]
您可以使用上面的链接来检查可用于读取硬件信息的库.http://msdn.microsoft.com/en-us/library/aa389273.aspx[^]
you can use above link to check the library available to read hardware info.
没有通用的方法-取决于母板制造商.
请参阅此处以获取可能有效的代码,但可能无效!
使用C#检索CPU温度 [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#[^]
这篇关于在C#中获取CPU温度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文