Name
PlatformID
Synopsis
This enumerated value indicates
the type of operating platform that
.NET is currently running on and is returned by the
OperatingSystem.Platform
property.
Win32Windows
indicates a Windows 9x-based
operating system, while Win32NT
indicates an
operating system based on Windows NT, including Windows 2000, XP, and
.NET Server. Win32S
is a layer that can run on
16-bit versions of Windows (Windows 3.x) to provide access to some
32-bit applications, and WinCE
represents the
Pocket PC flavor of the Win32 operating system.
public enum PlatformID { Win32S = 0, Win32Windows = 1, Win32NT = 2, WinCE = 3 }
Hierarchy
Object
→
ValueType
→
Enum(IComparable, IFormattable
, IConvertible)
→
PlatformID
Returned By
OperatingSystem.Platform
Passed To
OperatingSystem.OperatingSystem( )
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.