コード例 #1
0
 internal void StopService()
 {
     if (watcherFactory.ServiceInstalled)
     {
         if (watcherFactory.IsServiceRunning() && !watcherFactory.IsServicePaused())
         {
             watcherFactory.StopService();
             GetServiceStats();
         }
     }
 }