Csharp Source Code to retrieving Processor Id
first you need to add namespace 'using System.Management' in your class/cs file, then you write a function which return you processor's Id.
In below example listProcessor is a listBox control.
public void GetProcessorsId()
{
ManagementObjectSearcher mo = new ManagementObjectSearcher("select * from Win32_Processor");
foreach (ManagementObject mob in mo.Get())
{
try
listProcessor.Items.Add(mob["ProcessorId"].ToString());
}