예제 #1
0
 public bool ContinueService()
 {
     return(WindowsServices.ContinueService(ServiceName, TimeOut));
 }
예제 #2
0
 public bool ReStartService()
 {
     return(WindowsServices.RestartService(ServiceName, TimeOut * 2));
 }
예제 #3
0
 public bool PauseService()
 {
     return(WindowsServices.PauseService(ServiceName, TimeOut));
 }
예제 #4
0
 public bool StopService()
 {
     return(WindowsServices.StopService(ServiceName, TimeOut));
 }
예제 #5
0
 public bool IsServicePaused()
 {
     return(WindowsServices.IsServicePaused(ServiceName));
 }
예제 #6
0
 public bool IsServiceRunning()
 {
     return(WindowsServices.IsServiceRunning(ServiceName));
 }
예제 #7
0
 public bool IsServiceInstalled()
 {
     ServiceInstalled = WindowsServices.IsServiceInstalled(ServiceName);
     return(ServiceInstalled);
 }