Method
GetOperatingSystem
static func GetOperatingSystem() -> Result<OperatingSystem, EnvironmentError>
Declaring type: Environment
Module: System
Assembly: System.Runtime.dll
Source file: Functions.rvn
Returns the execution host's OS classification or an unavailable error.
Return value
Result<OperatingSystem, EnvironmentError>
Remarks
Versions describe the OS product, except Linux which preserves the kernel release. Distribution data is optional.