OperatingSystem.Platform Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a System.PlatformID enumeration value that identifies the operating system platform.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

member Platform : PlatformID with get

Property Value

Type: System.PlatformID

One of the PlatformID values.

The following code example creates several OperatingSystem objects and displays the Platform property for each.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top