public void Dispose() { if (_client != null) { ((IDisposable)_client).Dispose(); } _packetCapturer.Dispose(); }
public void Dispose() { _listener.Stop(); if (_client != null) { ((IDisposable)_client).Dispose(); } _packetCapturer.Dispose(); }