Click or drag to resize
OperatingSystemInfo Class
Static class providing access to information about the operating system under which the assembly is executing.
Inheritance Hierarchy
SystemObject
  Alphaleonis.Win32.VssOperatingSystemInfo

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public static class OperatingSystemInfo

The OperatingSystemInfo type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsAtLeast(OSVersionName)
Determines whether the operating system is of the specified version or later.
Public methodStatic memberIsAtLeast(OSVersionName, Int32)
Determines whether operating system is of the specified version or later, allowing specification of a minimum service pack that must be installed on the lowest version.
Public methodStatic memberIsWow64Process
Determines whether the current process is running under WOW64.
Public methodStatic memberRequireAtLeast(OSVersionName)
Determines whether the assembly is executing on the specified operating system version or later. If not, an exception is thrown.
Public methodStatic memberRequireAtLeast(OSVersionName, Int32)
Determines whether the assembly is executing on the specified operating system version with the specified service pack installed or any later version of windows. If not, an exception is thrown.
Public methodStatic memberRequireServer
Determines whether the operating system is a server operating system of atleast the specified serverVersion and serverServicePackVersion and throws an UnsupportedOperatingSystemException otherwise.
Public methodStatic memberRequireServerOrClientAtLeast
Determines whether operating system is of the specified server version or later or if it is of the specified client version or later and throws UnsupportedOperatingSystemException otherwise.
Top
Properties
  NameDescription
Public propertyStatic memberIsServer
Gets a value indicating whether the operating system is a server os.
Public propertyStatic memberOSVersion
Gets the numeric version of the operating system. This is the same as returned by OSVersion.
Public propertyStatic memberOSVersionName
Gets the named version of the operating system.
Public propertyStatic memberProcessorArchitecture
Gets the processor architecture for which the operating system is targeted.
Public propertyStatic memberServicePackVersion
Gets the version of the service pack currently installed on the operating system.
Top
See Also