Struct OSInfo
Wraps information about an operating system in a serializer-friendly format.
public struct OSInfo
- Extension Methods
Fields
DotNetVersion
The version of .NET running the current process.
public string DotNetVersion
Field Value
- string
Platform
The operating system platform (e.g., Win32NT
or win
).
public string Platform
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