Class Capabilities.OperatingSystem
- Namespace
- PdfSharp
- Assembly
- PdfSharp.dll
Access to information about the currently running operating system. The functionality supersede functions that are partially not available in .NET Framework / Standard.
public static class Capabilities.OperatingSystem
- Inheritance
-
Capabilities.OperatingSystem
- Inherited Members
Properties
IsLinux
Indicates whether the current application is running on Linux.
public static bool IsLinux { get; }
Property Value
IsWindows
Indicates whether the current application is running on Windows.
public static bool IsWindows { get; }
Property Value
IsWsl2
Indicates whether the current application is running on WSL2. If IsWsl2 is true, IsLinux also is true.
public static bool IsWsl2 { get; }
Property Value
OSAbbreviation
Gets a 3-character abbreviation of the current operating system. Valid return values are 'WIN', 'WSL', 'LNX', 'OSX', or 'xxx' if the platform is not known.
public static string OSAbbreviation { get; }