예제 #1
0
        public CKR C_EX_SetTokenName(NativeULong session, byte[] label)
        {
            if (_disposed)
            {
                throw new ObjectDisposedException(GetType().FullName);
            }

            NativeULong labelLength = 0;

            if (label != null)
            {
                labelLength = (NativeULong)(label.Length);
            }

            NativeULong rv = _rutokenDelegates.C_EX_SetTokenName(session, label, labelLength);

            return((CKR)rv);
        }