private static ProcessorArchitecture GetNativeArchitecture()
        {
            NativeStructs.SYSTEM_INFO sysInfo = new NativeStructs.SYSTEM_INFO();
            NativeMethods.GetNativeSystemInfo(out sysInfo);
            ProcessorArchitecture architecture = Convert(sysInfo.wProcessorArchitecture);

            return(architecture);
        }
Exemplo n.º 2
0
 internal static extern void GetNativeSystemInfo(ref NativeStructs.SYSTEM_INFO lpSystemInfo);