Méthode | Description | |
---|---|---|
GetRunningServices ( ) : System.ServiceProcess.ServiceController[] | ||
GetServiceController ( string serviceName ) : |
||
GetServiceStatus ( string serviceName ) : ServiceStatus | ||
IsServiceInstalled ( string serviceName ) : bool | ||
IsServiceRunning ( string serviceName ) : bool |
public static GetRunningServices ( ) : System.ServiceProcess.ServiceController[] | ||
Résultat | System.ServiceProcess.ServiceController[] |
public static GetServiceController ( string serviceName ) : |
||
serviceName | string | |
Résultat |
public static GetServiceStatus ( string serviceName ) : ServiceStatus | ||
serviceName | string | |
Résultat | ServiceStatus |
public static IsServiceInstalled ( string serviceName ) : bool | ||
serviceName | string | |
Résultat | bool |
public static IsServiceRunning ( string serviceName ) : bool | ||
serviceName | string | |
Résultat | bool |