System.Runtime.OSPlatformHelper.IsLinux C# (CSharp) Méthode

IsLinux() public static méthode

Is current operation system Linux system
当前操作系统是否为 Linux 系统
public static IsLinux ( ) : bool
Résultat bool
        public static bool IsLinux() => RuntimeInformation.IsOSPlatform(OSPlatform.Linux);
    }