Netronics.Netronics.Stop C# (CSharp) Method

Stop() public method

Netronics를 중지하는 메소드
public Stop ( ) : Netronics
return Netronics
        public virtual Netronics Stop()
        {
            if (Properties != null)
                Properties.OnStopEvent(this, new EventArgs());
            Socket.Dispose();
            Socket = null;
            return this;
        }

Usage Example

Exemplo n.º 1
0
 public void Test1()
 {
     var netronics = new Netronics.Netronics(new Properties());
     netronics.Start();
     netronics.AddChannel(SocketChannel.CreateChannel(null));
     netronics.Stop();
 }