Class PlatformDetection
Helper class for detecting platform-specific features.
public static class PlatformDetection
- Inheritance
-
PlatformDetection
- Inherited Members
Methods
- IsLinux()
Determines whether the current operating system is Linux.
- IsMac()
Determines whether the current operating system is macOS.
- IsUnixLike()
Determines whether the current operating system is a Unix-like platform.
- IsWSL()
Determines if the current platform is WSL (Windows Subsystem for Linux).
- IsWindows()
Determines if the current platform is Windows.