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