using System.Management;
ManagementObjectSearcher mo = new ManagementObjectSearcher("select * from Win32_Processor");
foreach (ManagementObject mob in mo.Get())
{
try
{
listBox1.Items.Add(mob["ProcessorId"].ToString());
}
catch (Exception ex)
{
// handle exception
}
}
it comes error in core 2 duo xp servicepack 2 sysstem