public CKR C_EX_LoadActivationKey(NativeULong session, byte[] key) { if (_disposed) { throw new ObjectDisposedException(GetType().FullName); } NativeULong keyLength = 0; if (key != null) { keyLength = (NativeULong)(key.Length); } NativeULong rv = _rutokenDelegates.C_EX_LoadActivationKey(session, key, keyLength); return((CKR)rv); }