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