Disposes the Ssh object and all the socket objects.
public void Dispose()
Calling this method ensures that all resources are freed. It is not necessary to call this method if the SSH session is successfully closed using Disconnect method.
Releases the unmanaged resources used by the Ssh object and optionally releases the managed resources.
protected virtual void Dispose(bool disposing)
true to release both managed and unmanaged resources; false to release only unmanaged resources.