h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Retrieve hardware information from a remote machine via WMI

Retrieve hardware information from a remote machine via WMI

//Create WMI Class
ManagementClass mc = new ManagementClass("Win32_Processor");
//Populate class with Processor objects
ManagementObjectCollection moc = mc.GetInstances();
//Iterate through logical processors
foreach (ManagementObject mo in moc)