コード例 #1
0
ファイル: Functions.cs プロジェクト: modulexcite/PowerWalker
 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
ファイル: Natives.cs プロジェクト: modulexcite/PowerWalker
 public static extern void GetNativeSystemInfo(out SYSTEM_INFO lpSystemInfo);