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