System.OperatingSystem Members

The members of System.OperatingSystem are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the OperatingSystem class, using the specified platform identifier value and version object.

Public Properties

[read-only]
PlatformPlatformID.

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

[read-only]
ServicePackstring.

Gets the service pack version represented by this OperatingSystem object.

[read-only]
VersionVersion.

Gets a Version object that identifies the operating system.

[read-only]
VersionStringstring.

Gets the concatenated string representation of the platform identifier, version, and service pack that are currently installed on the operating system.

Public Methods

Clone() : object

Creates an OperatingSystem object that is identical to this instance.

GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Populates a System.Runtime.Serialization.SerializationInfo object with the data necessary to deserialize this instance.

override
ToString() : string

Converts the value of this OperatingSystem object to its equivalent string representation.