// easy way to get the HWID in c#
string HWID;
HWID = System.Security.Principal.WindowsIdentity.GetCurrent().User.Value;
var mbs = new ManagementObjectSearcher("Select ProcessorId From Win32_processor");
ManagementObjectCollection mbsList = mbs.Get();
string id = "";
foreach (ManagementObject mo in mbsList)
{
id = mo["ProcessorId"].ToString();
break;
}