Dispose Method Dispose() When the Scp03Session object goes out of scope, this method is called. It will close the session. The most important function of closing a session is to close the connection. C# public void Dispose()