Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
System
Runtime
OSPlatformHelper
IsLinux
System.Runtime.OSPlatformHelper.IsLinux C# (CSharp) Method
OSPlatformHelper Class Documentation
显示文件
Open project: cosmos-loops/cosmos-standard
IsLinux()
public
static
method
Is current operation system Linux system
当前操作系统是否为 Linux 系统
public
static
IsLinux
( ) :
bool
return
bool
public static bool IsLinux() => RuntimeInformation.IsOSPlatform(OSPlatform.Linux); }
OSPlatformHelper
IsLinux
IsMacOS
IsOSX
IsWindows