Class Capabilities.OperatingSystem
- Namespace
- PdfSharp
- Assembly
- PdfSharp.dll
Access to information about the currently running operating system. The functionality supersedes functions that are partially not available in .NET Framework / Standard.
public static class Capabilities.OperatingSystem
- Inheritance
-
objectCapabilities.OperatingSystem
Properties
- IsFreeBSD
Indicates whether the current application is running on FreeBSD.
- IsLinux
Indicates whether the current application is running on Linux.
- IsOSX
Indicates whether the current application is running on OSX.
- IsWindows
Indicates whether the current application is running on Windows.
- IsWsl2
Indicates whether the current application is running on WSL2. If IsWsl2 is true, IsLinux also is true.
- OSAbbreviation
Gets a 3-character abbreviation of the current operating system. Valid return values are 'WIN', 'WSL', 'LNX', 'OSX', 'BSD', or 'XXX' if the platform is not known.