Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
OSArchitecture
Architecture
System.Runtime.InteropServices.RuntimeInformation.OSArchitecture
static
get
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
}
System.Runtime.InteropServices.RuntimeInformation.s_osArch
static volatile int s_osArch
Definition
RuntimeInformation.cs:14
System.Runtime.InteropServices.RuntimeInformation.Map
static Architecture Map(global::Interop.Kernel32.ProcessorArchitecture processorArchitecture)
Definition
RuntimeInformation.cs:135
System.Runtime.InteropServices.Architecture
Architecture
Definition
Architecture.cs:4
System
Runtime
InteropServices
RuntimeInformation
Generated by
1.10.0