Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ QueryContextAuthenticationPackage() [1/2]

static string System.Net.Security.NegotiateStreamPal.QueryContextAuthenticationPackage ( SafeDeleteContext securityContext)
inlinestaticpackage

Definition at line 234 of file NegotiateStreamPal.cs.

235 {
236 SecPkgContext_NegotiationInfoW attribute = default(SecPkgContext_NegotiationInfoW);
237 SafeHandle sspiHandle;
238 bool flag = SSPIWrapper.QueryBlittableContextAttributes(GlobalSSPI.SSPIAuth, securityContext, global::Interop.SspiCli.ContextAttribute.SECPKG_ATTR_NEGOTIATION_INFO, typeof(SafeFreeContextBuffer), out sspiHandle, ref attribute);
239 using (sspiHandle)
240 {
241 return flag ? NegotiationInfoClass.GetAuthenticationPackageName(sspiHandle, (int)attribute.NegotiationState) : null;
242 }
243 }

References System.Net.NegotiationInfoClass.GetAuthenticationPackageName(), System.Net.SecPkgContext_NegotiationInfoW.NegotiationState, and System.Net.GlobalSSPI.SSPIAuth.