Ejemplo 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;
 }
Ejemplo n.º 2
0
 public static extern void GetNativeSystemInfo(out SYSTEM_INFO lpSystemInfo);