Renci.SshNet.Extensions.Dispose C# (CSharp) Method

Dispose() private method

private Dispose ( this socket ) : void
socket this
return void
        internal static void Dispose(this Socket socket)
        {
            if (socket == null)
                throw new NullReferenceException();

            socket.Close();
        }