Navaz

Navaz

  • NA
  • 96
  • 44.9k

c#

Jun 26 2014 2:25 AM

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