Пример #1
0
 public async Task CancelScanningAsync()
 {
     if (scanMode)
     {
         if (ScanningCanceling != null)
         {
             ScanningCanceling(this, null);
         }
         client.CancelPingAllNetwork();
         await scanTask;
     }
 }