internal static SafeFreeCredentials AcquireDefaultCredential(string package, bool isServer)
 {
     return(SSPIWrapper.AcquireDefaultCredential(
                GlobalSSPI.SSPIAuth,
                package,
                (isServer ? Interop.SspiCli.CredentialUse.SECPKG_CRED_INBOUND : Interop.SspiCli.CredentialUse.SECPKG_CRED_OUTBOUND)));
 }
Ejemplo n.º 2
0
 internal static SafeFreeCredentials AcquireDefaultCredential(string package, bool isServer)
 {
     return(SSPIWrapper.AcquireDefaultCredential(
                GlobalSSPI.SSPIAuth,
                package,
                (isServer ? Interop.SspiCli.CredentialUse.Inbound : Interop.SspiCli.CredentialUse.Outbound)));
 }