예제 #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;
 }
예제 #2
0
 public static extern void GetNativeSystemInfo(out SYSTEM_INFO lpSystemInfo);