public SessionInfo GetSessionInfo()
{
if (this._disposed)
throw new ObjectDisposedException(this.GetType().FullName);
CK_SESSION_INFO sessionInfo = new CK_SESSION_INFO();
CKR rv = _p11.C_GetSessionInfo(_sessionId, ref sessionInfo);
if (rv != CKR.CKR_OK)
throw new Pkcs11Exception("C_GetSessionInfo", rv);
return new SessionInfo(_sessionId, sessionInfo);
}