Class OperatingSystemInfo
Defines a static class that provides information about the underlying operating system.
Inheritance
System.Object
OperatingSystemInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Juhta.Net.Common
Assembly: Juhta.Net.dll
Syntax
public static class OperatingSystemInfo
Properties
| Improve this Doc View SourceIsLinux
Returns true if the application is running on Linux, otherwise false.
Declaration
public static bool IsLinux { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsMacOS
Returns true if the application is running on MacOS, otherwise false.
Declaration
public static bool IsMacOS { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsWindows
Returns true if the application is running on Windows, otherwise false.
Declaration
public static bool IsWindows { get; }
Property Value
Type | Description |
---|---|
System.Boolean |