PlatformID

PlatformIDCF 1.0, serializable

System (mscorlib.dll)enum

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( )



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System