O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

public enum PlatformID {
            Win32S = 0,
            Win32Windows = 1,
            Win32NT = 2
}

Hierarchy

ObjectValueTypeEnum(IComparable, IFormattable, IConvertible)PlatformID

Returned By

OperatingSystem.Platform

Passed To

OperatingSystem.OperatingSystem()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required