Disposes the Scp object and all the socket objects.
Assembly: Rebex.Sftp (in Rebex.Sftp.dll)
Public Sub Dispose
public void Dispose()
Calling this method ensures that all resources are freed. It is not necessary to call this method if the SCP session is successfully closed using Disconnect method.