使用C/C++如可获取CPU温度,显卡温度? 20
我想用C++编写一个能实时记录CPU、显卡温度的软件,却不知如何获取传感器温度,知道在linux中可以调用sensors命令,但在windows中却没有找到类似senso...
我想用C++编写一个能实时记录CPU、显卡温度的软件,却不知如何获取传感器温度,知道在linux中可以调用sensors命令,但在windows中却没有找到类似sensors的命令行软件,不知哪位大侠有获取CPU、显卡温度的方法?
展开
2个回答
展开全部
Win32_TemperatureProbe ClassThe Win32_TemperatureProbe WMI class represents the properties of a temperature sensor (electronic thermometer).
Most of the information that the Win32_TemperatureProbe WMI class provides comes from SMBIOS. Real-time readings for the CurrentReading property cannot be extracted from SMBIOS tables. For this reason, current implementations of WMI do not populate the CurrentReading property. The CurrentReading property's presence is reserved for future use.
Most of the information that the Win32_TemperatureProbe WMI class provides comes from SMBIOS. Real-time readings for the CurrentReading property cannot be extracted from SMBIOS tables. For this reason, current implementations of WMI do not populate the CurrentReading property. The CurrentReading property's presence is reserved for future use.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询