Renci.SshNet.SshClient.OnDisconnecting C# (CSharp) 메소드

OnDisconnecting() 보호된 메소드

Called when client is disconnecting from the server.
protected OnDisconnecting ( ) : void
리턴 void
        protected override void OnDisconnecting()
        {
            base.OnDisconnecting();

            foreach (var port in _forwardedPorts)
            {
                port.Stop();
            }
        }