Ejemplo n.º 1
0
 public void CancelScan()
 {
     if (ActiveScan == null)
     {
         return;
     }
     if (workerIntegrityScanner.IsBusy)
     {
         cancelIntegrityCheck = true;
         while (workerIntegrityScanner.IsBusy)
         {
             Utils.DoEvents();
             Thread.Sleep(100);
         }
         cancelIntegrityCheck = false;
     }
 }