I want to use some thing unique for a licensing system. i decided to use ProcessorID from Win32_Processor Management class.
I tried on two different systems with same processor type..
It shows me same processorID for both system. i am using this code
public static String GetCPUId()
{
String processorID = "";
ManagementObjectSearcher searcher = new ManagementObjectSearcher(
"Select * FROM WIN32_Processor");
ManagementObjectCollection mObject = searcher.Get();
foreach (ManagementObject obj in mObject)
{
processorID = obj["ProcessorId"].ToString();
}
return processorID;
}