C# 클래스 TrakHound.Tools.Service_Functions

파일 보기 프로젝트 열기: TrakHound/TrakHound-Community

공개 메소드들

메소드 설명
GetRunningServices ( ) : System.ServiceProcess.ServiceController[]
GetServiceController ( string serviceName ) : ServiceController
GetServiceStatus ( string serviceName ) : ServiceStatus
IsServiceInstalled ( string serviceName ) : bool
IsServiceRunning ( string serviceName ) : bool

메소드 상세

GetRunningServices() 공개 정적인 메소드

public static GetRunningServices ( ) : System.ServiceProcess.ServiceController[]
리턴 System.ServiceProcess.ServiceController[]

GetServiceController() 공개 정적인 메소드

public static GetServiceController ( string serviceName ) : ServiceController
serviceName string
리턴 System.ServiceProcess.ServiceController

GetServiceStatus() 공개 정적인 메소드

public static GetServiceStatus ( string serviceName ) : ServiceStatus
serviceName string
리턴 ServiceStatus

IsServiceInstalled() 공개 정적인 메소드

public static IsServiceInstalled ( string serviceName ) : bool
serviceName string
리턴 bool

IsServiceRunning() 공개 정적인 메소드

public static IsServiceRunning ( string serviceName ) : bool
serviceName string
리턴 bool