PlatformID Enumeration
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Identifies the operating system, or development platform, supported by an assembly.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
<ComVisibleAttribute(True)> _
Public Enumeration PlatformID
[ComVisibleAttribute(true)]
public enum PlatformID
Members
Member name | Description | |
---|---|---|
Win32S | The operating system is Win32s. Win32s is a layer that runs on 16-bit versions of Windows to provide access to 32-bit applications. | |
Win32Windows | The operating system is Windows 95 or later. | |
Win32NT | The operating system is Windows NT or later. | |
WinCE | The operating system is Windows CE. | |
Unix | The operating system is Unix. | |
Xbox | The development platform is Xbox 360. | |
MacOSX | The operating system is Macintosh. | |
NokiaS60 | The operating system is Nokia S60.
Not supported. Present in Silverlight for Windows Phone. |
Remarks
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.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Xbox 360, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.