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