Method | 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[] | ||
return | System.ServiceProcess.ServiceController[] |
public static GetServiceController ( string serviceName ) : |
||
serviceName | string | |
return |
public static GetServiceStatus ( string serviceName ) : ServiceStatus | ||
serviceName | string | |
return | ServiceStatus |
public static IsServiceInstalled ( string serviceName ) : bool | ||
serviceName | string | |
return | bool |
public static IsServiceRunning ( string serviceName ) : bool | ||
serviceName | string | |
return | bool |