HttpCapabilitiesBase::Platform Property

 

Gets the name of the platform that the client uses, if it is known.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public:
property String^ Platform {
	String^ get();
}

Property Value

Type: System::String^

The operating system that the client uses, if it is known, otherwise the value is set to Unknown.

Some of the possible values for the Platform property are as follows:

  • Unknown

  • Win95

  • Win98

  • Windows NT 5.0 (Windows 2000)

  • Windows NT 5.1 (Windows XP)

  • WinNT (all other versions of Windows NT)

  • Win16

  • WinCE

  • Mac68K

  • MacPPC

  • UNIX

  • WebTV

The following code example shows how to determine whether the browser is running on the Windows NT platform.

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

.NET Framework
Available since 2.0
Return to top
Show: