PlatformID Enumeration
Identifies the operating system, or platform, supported by an assembly.
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| MacOSX | The operating system is Macintosh. | |
| Unix | The operating system is Unix. | |
| Win32NT | The operating system is Windows NT or later. | |
| 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 Windows 98. | |
| WinCE | The operating system is Windows CE. | |
| Xbox | The 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.
You can use the underlying integer value of each PlatformID enumeration member, as shown in the table, as the PlatformId argument for the SignTool.exe (Sign Tool) utility.
Member | Underlying value |
|---|---|
Win32S | 0 |
Win32Windows | 1 |
Win32NT | 2 |
WinCE | 3 |
Unix | 4 |
Xbox | 5 |
MacOSX | 6 |
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0