madhu t

madhu t

  • NA
  • 3
  • 0

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

Aug 8 2008 9:04 AM

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)