Here is one way that can be used to determine the temperature of the CPU or processor of a PC or Laptop. This method will be used to control the computers that have a heavy workload , especially used as a server , to control the speed of work , because the higher the temperature of the CPU / processor will further slow down the process. Just try using the following syntax :
wbemServices=GetObject("winmgmts:" + "\\localhost\root\wmi")
wbemObjectSet=wbemServices.InstancesOf;
("MSAcpi_ThermalZoneTemperature")
For each Item in wbemObjectSet iSuhu=(Item.CurrentTemperature - 2732) / 10
Endfor
wbemObjectSet=wbemServices.InstancesOf;
("MSAcpi_ThermalZoneTemperature")
For each Item in wbemObjectSet iSuhu=(Item.CurrentTemperature - 2732) / 10
Endfor
Syntax above will accommodate temperature / temperature CPU / processor in variable iSuhu in degrees Celcious . If you want to try implementing the application in a form sederhanya can take an example in
0 Response to "Source Code To Know Temperatures of CPU / Processor"
Post a Comment