C# Class Luigibot.OSDetermination

Afficher le fichier Open project: Luigifan/DiscordSharp Class Usage Examples

Méthodes publiques

Méthode Description
GetUnixName ( ) : string
IsOnMac ( ) : bool
IsOnUnix ( ) : bool
IsOnWindows ( ) : bool

Private Methods

Méthode Description
FriendlyName ( ) : string
GetProcessOutput ( string process, string args ) : string
HKLM_GetString ( string path, string key ) : string

Method Details

GetUnixName() public static méthode

public static GetUnixName ( ) : string
Résultat string

IsOnMac() public static méthode

public static IsOnMac ( ) : bool
Résultat bool

IsOnUnix() public static méthode

public static IsOnUnix ( ) : bool
Résultat bool

IsOnWindows() public static méthode

public static IsOnWindows ( ) : bool
Résultat bool