System.Net.Security.NegotiateStreamPal.QueryContextAuthenticationPackage C# (CSharp) Method

QueryContextAuthenticationPackage() static private method

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