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( )
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access