Esempio n. 1
0
 private void Shutdown()
 {
     _device.StopCapture();
     if (_backgroundThread != null)
     {
         _backgroundThreadStop = true;
         _backgroundThread.Join();
         _backgroundThread = null;
     }
     _tcpRecon.Close();
     lock (_queueLock) _packetQueue.Clear();
     tsb1StartStop.Image       = global::ConnStealing.Properties.Resources.play_icon_enabled;
     tsb1StartStop.ToolTipText = "Start capturing";
     gbrSniffType.Enabled      = true;
 }