Exemplo n.º 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);
        }
Exemplo n.º 2
0
 internal static extern NtStatus CDLocateCSystem(KerberosKeyType type, out KerberosCryptoSystem cryptoSystem);