Struct OSInfo
Wraps information about an operating system in a serializer-friendly format.
public struct OSInfo
- Extension Methods
Fields
FrameworkVersion
The version of the operating system (e.g. 6.0 for Vista).
public string FrameworkVersion
Field Value
- string
Platform
The operating system platform (e.g. Windows NT).
public string Platform
Field Value
- string
ServicePack
The service pack level (e.g. "Service Pack 1").
public string ServicePack
Field Value
- string
Version
The version of the operating system (e.g. 6.0 for Vista).
public string Version
Field Value
- string
Properties
Current
Information about the current operating system.
public static OSInfo Current { get; }
Property Value
OSArchitecture
The processor architecture of the operating system.
public Architecture OSArchitecture { readonly get; set; }
Property Value
- Architecture
ProcessArchitecture
The (potentially emulated) processor architecture of the running process.
public Architecture ProcessArchitecture { readonly get; set; }
Property Value
- Architecture