Flags that define the type of session
 /// <summary>
 /// Converts low level CK_SESSION_INFO structure to high level SessionInfo class
 /// </summary>
 /// <param name="sessionId">PKCS#11 handle of session</param>
 /// <param name="ck_session_info">Low level CK_SESSION_INFO structure</param>
 protected internal SessionInfo(NativeULong sessionId, CK_SESSION_INFO ck_session_info)
 {
     _sessionId    = sessionId;
     _slotId       = ck_session_info.SlotId;
     _state        = (CKS)ck_session_info.State;
     _sessionFlags = new SessionFlags(ck_session_info.Flags);
     _deviceError  = ck_session_info.DeviceError;
 }
 /// <summary>
 /// Converts low level CK_SESSION_INFO structure to high level SessionInfo class
 /// </summary>
 /// <param name="sessionId">PKCS#11 handle of session</param>
 /// <param name="ck_session_info">Low level CK_SESSION_INFO structure</param>
 internal SessionInfo(uint sessionId, CK_SESSION_INFO ck_session_info)
 {
     _sessionId = sessionId;
     _slotId = ck_session_info.SlotId;
     _state = (CKS)ck_session_info.State;
     _sessionFlags = new SessionFlags(ck_session_info.Flags);
     _deviceError = ck_session_info.DeviceError;
 }