.NET Framework Class Library  

OperatingSystem Class

Represents information about an operating system, such as the version and platform identifier.

For a list of all members of this type, see OperatingSystem Members.

System.Object
   System.OperatingSystem

[Visual Basic]
<Serializable>
NotInheritable Public Class OperatingSystem
   Implements ICloneable
[C#]
[Serializable]
public sealed class OperatingSystem : ICloneable
[C++]
[Serializable]
public __gc __sealed class OperatingSystem : public ICloneable
[JScript]
public
   Serializable
class OperatingSystem implements ICloneable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Remarks

This class provides a method to copy an instance of OperatingSystem, and a method to return a string representation of operating system information.

Requirements

Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework - Windows CE .NET

Assembly: Mscorlib (in Mscorlib.dll)

See Also

OperatingSystem Members | System Namespace