BitSharper.PeerGroup.Stop C# (CSharp) 메소드

Stop() 공개 메소드

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
리턴 void
        public void Stop()
        {
            lock (this)
            {
                if (_running)
                {
                    _connectThread.Interrupt();
                }
            }
        }