Releasing a connection |
To disconnect from the telnet server and cleanup any resources invoke the Disconnect method. You should always invoke the Disconnect method after you are finished with the telnet session.
Example
[C#]
// release connection
session.Disconnect();
[Visual Basic]
' release connection
session.Disconnect()