Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ OSArchitecture

Architecture System.Runtime.InteropServices.RuntimeInformation.OSArchitecture
staticget

Definition at line 102 of file RuntimeInformation.cs.

103 {
104 get
105 {
106 int num = s_osArch;
107 if (num == -1)
108 {
109 global::Interop.Kernel32.GetNativeSystemInfo(out var lpSystemInfo);
110 num = (s_osArch = (int)Map((global::Interop.Kernel32.ProcessorArchitecture)lpSystemInfo.wProcessorArchitecture));
111 }
112 return (Architecture)num;
113 }
114 }
static Architecture Map(global::Interop.Kernel32.ProcessorArchitecture processorArchitecture)