Windows Dev Center

Expand Minimize

PlatformID Enumeration

Identifies the operating system, or development platform, supported by an assembly.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public enum PlatformID

Member nameDescription
NokiaS60The operating system is Nokia S60.

Not supported. Present inWindows Phone.

UnixThe operating system is Unix.
Win32NTThe operating system is Windows NT or later.
Win32SThe operating system is Win32s. Win32s is a layer that runs on 16-bit versions of Windows to provide access to 32-bit applications.
Win32WindowsThe operating system is Windows 95 or later.
WinCEThe operating system is Windows CE.
XboxThe development platform is Xbox 360.

Use the Environment.OSVersion and OperatingSystem.Platform properties to obtain the PlatformID enumeration for the currently executing operating system or development platform. Use the PlatformID enumeration to help determine whether the current operating system or development platform supports your application.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft