示例#1
0
 internal void PauseService()
 {
     if (watcherFactory.ServiceInstalled)
     {
         if (watcherFactory.IsServiceRunning() && !watcherFactory.IsServicePaused())
         {
             watcherFactory.PauseService();
             GetServiceStats();
         }
     }
 }