Dispose Method Dispose() When the OathSession object goes out of scope, this method is called. It will close the session. C# public void Dispose()