public static uint GetProcessorType() { SYSTEM_INFO SystemInfo = new SYSTEM_INFO(); Kernel32.GetNativeSystemInfo(out SystemInfo); uint ProcessorType = Convert.ToUInt32(SystemInfo.ProcessorType.ToString(), 16); return ProcessorType; }
public static extern void GetNativeSystemInfo(out SYSTEM_INFO lpSystemInfo);