Dart.Ssh Namespace > Session Class : Close Method |
'Declaration Public Sub Close()
'Usage Dim instance As Session instance.Close()
public void Close()
public: void Close();
public: void Close();
Always call this method to free up resources, even if an exception was thrown by another method call (or when getting an Exception on the Input- or OutputStreams).
Call Close to free resources, even if the server sent a close message.
This method is available by accessing the Session property and is provided for low-level control. It is normally used by invoking the SessionStream.Close method.