C# Class TrakHound.Tools.Service_Functions

Afficher le fichier Open project: TrakHound/TrakHound-Community

Méthodes publiques

Méthode Description
GetRunningServices ( ) : System.ServiceProcess.ServiceController[]
GetServiceController ( string serviceName ) : ServiceController
GetServiceStatus ( string serviceName ) : ServiceStatus
IsServiceInstalled ( string serviceName ) : bool
IsServiceRunning ( string serviceName ) : bool

Method Details

GetRunningServices() public static méthode

public static GetRunningServices ( ) : System.ServiceProcess.ServiceController[]
Résultat System.ServiceProcess.ServiceController[]

GetServiceController() public static méthode

public static GetServiceController ( string serviceName ) : ServiceController
serviceName string
Résultat System.ServiceProcess.ServiceController

GetServiceStatus() public static méthode

public static GetServiceStatus ( string serviceName ) : ServiceStatus
serviceName string
Résultat ServiceStatus

IsServiceInstalled() public static méthode

public static IsServiceInstalled ( string serviceName ) : bool
serviceName string
Résultat bool

IsServiceRunning() public static méthode

public static IsServiceRunning ( string serviceName ) : bool
serviceName string
Résultat bool