BitSharper.PeerGroup.Stop C# (CSharp) Method

Stop() public method

Stop this PeerGroup.
The peer group will be asynchronously shut down. After it is shut down all peers will be disconnected and no threads will be running.
public Stop ( ) : void
return void
        public void Stop()
        {
            lock (this)
            {
                if (_running)
                {
                    _connectThread.Interrupt();
                }
            }
        }