System.Net.Security.NegotiateStreamPal.QueryContextAuthenticationPackage C# (CSharp) Méthode

QueryContextAuthenticationPackage() static private méthode

static private QueryContextAuthenticationPackage ( System.Net.Security.SafeDeleteContext securityContext ) : string
securityContext System.Net.Security.SafeDeleteContext
Résultat string
        internal static string QueryContextAuthenticationPackage(SafeDeleteContext securityContext)
        {
            SafeDeleteNegoContext negoContext = (SafeDeleteNegoContext)securityContext;
            return negoContext.IsNtlmUsed ? NegotiationInfoClass.NTLM : NegotiationInfoClass.Kerberos;
        }