gpt4 book ai didi

monitoring - 如何使用 C# 从 Bios 获取 CPU 温度信息?

转载 作者:太空宇宙 更新时间:2023-11-03 14:27:09 24 4
gpt4 key购买 nike

如何使用 C# 从 Bios 获取 CPU 温度信息 我尝试了 CPU temperature monitoring 中的代码

但运气不好。 enumerator.Current 抛出异常。

我怎样才能做到这一点?谢谢。

错误:

"This system doesn't support the required WMI objects(1) - check the exception file 
Not supported

at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at CedarLogic.WmiLib.SystemStatistics.RefreshReadings() in D:\Downloads\TempMonitorSrc\TemperatureMonitorSln\WmiLib\SystemStatistics.cs:line 25
at CedarLogic.WmiLib.SystemStatistics.get_CurrentTemperature() in D:\Downloads\TempMonitorSrc\TemperatureMonitorSln\WmiLib\SystemStatistics.cs:line 87
at TemperatureMonitor.SystemTrayService.CheckSupport() in D:\Downloads\TempMonitorSrc\TemperatureMonitorSln\TemperatureMonitor\SystemTrayService.cs:line 260"

最佳答案

关于monitoring - 如何使用 C# 从 Bios 获取 CPU 温度信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3615682/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com