3
Answers

How to Get HardWare Information from CPU like Temparature,Voltage,FanSpeed. code in .Net

madhu t

madhu t

16y
8.1k
1

I was using This Code...
//---Code---//

            ManagementObjectSearcher mySearcher = new ManagementObjectSearcher("root\\WMI","SELECT * from Win32_TemparatureProbe");         


            foreach (ManagementBaseObject obj in mySearcher.Get())
            {
                              
                if (obj == null)
                {
                    label1.Text = "didn't find";
                }
                else
                {
                    label1.Text = obj["Accuracy"].ToString ();
                }

            }
//---Code End---//

But No RESULT.

   Plz me code for How to Get HardWare Information from CPU like Temparature,Voltage,FanSpeed. code in .Net

                 Thanks

Answers (3)