Disposes the Sftp object and the underlying SSH object.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Sub Dispose |
C# |
---|
public void Dispose() |
Implements
IDisposable..::..Dispose()()()()Remarks
Calling this method ensures that all resources are freed.
It is not necessary to call this method if the SFTP session is
successfully closed using Disconnect method.