Метод | Описание | |
---|---|---|
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[] | ||
Результат | System.ServiceProcess.ServiceController[] |
public static GetServiceController ( string serviceName ) : |
||
serviceName | string | |
Результат |
public static GetServiceStatus ( string serviceName ) : ServiceStatus | ||
serviceName | string | |
Результат | ServiceStatus |
public static IsServiceInstalled ( string serviceName ) : bool | ||
serviceName | string | |
Результат | bool |
public static IsServiceRunning ( string serviceName ) : bool | ||
serviceName | string | |
Результат | bool |