示例#1
0
        internal static NtStatus CDLocateCSystem(KerberosKeyType type, out KerberosCryptoSystem cryptoSystem)
        {
            IntPtr   cryptoSystemPtr;
            NtStatus status = CDLocateCSystem(type, out cryptoSystemPtr);

            cryptoSystem = (status == NtStatus.Success) ? (KerberosCryptoSystem)Marshal.PtrToStructure(cryptoSystemPtr, typeof(KerberosCryptoSystem)) : null;
            return(status);
        }
示例#2
0
 internal static extern NtStatus CDLocateCSystem(KerberosKeyType type, out KerberosCryptoSystem cryptoSystem);