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