PowerTCP SSH and SFTP for .NET
Close Method (SshConnection)




Closes the connection to the SSH-2 server.
Syntax
'Declaration
 
Public Overridable Sub Close() 
'Usage
 
Dim instance As SshConnection
 
instance.Close()
public virtual void Close()
public: virtual void Close(); 
public:
virtual void Close(); 
Remarks
All assigned sessions will be closed. Can be called at any time. Should be called once a connection is no longer needed - otherwise the receiver thread may run forever.
See Also

Reference

SshConnection Class
SshConnection Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic