Platform Enum
Definition
Section titled “Definition”Generic platform enum.
[Flags]public enum Platform
Fields
Section titled “Fields”Bit applied to all OSes (Unknown, Windows, MacOS, …).
OS = 1
Bits64
Section titled “Bits64”On demand 64-bit platform bit.
Bits64 = 2
Applied to all NT and NT-oid platforms (Windows).
NT = 4
Applied to all Unix and Unix-oid platforms (macOS, Linux, …).
Unix = 8
On demand ARM platform bit.
ARM = 65536
On demand Wine bit. DON’T RELY ON THIS.
Wine = 131072
Unknown
Section titled “Unknown”Unknown OS.
Unknown = 17
Windows
Section titled “Windows”Windows, using the NT kernel.
Windows = 37
macOS, using the Darwin kernel.
MacOS = 73
Linux.
Linux = 137
Android
Section titled “Android”Android, using the Linux kernel.
Android = 393
iOS, sharing components with macOS.
iOS = 585