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

◆ QueryContextChannelBinding()

static SafeFreeContextBufferChannelBinding System.Net.SSPIWrapper.QueryContextChannelBinding ( ISSPIInterface secModule,
SafeDeleteContext securityContext,
global::Interop::SspiCli::ContextAttribute contextAttribute )
inlinestatic

Definition at line 316 of file SSPIWrapper.cs.

317 {
319 int num = secModule.QueryContextChannelBinding(securityContext, contextAttribute, out refHandle);
320 if (num != 0)
321 {
322 if (System.Net.NetEventSource.Log.IsEnabled())
323 {
324 System.Net.NetEventSource.Error(null, $"ERROR = {ErrorDescription(num)}", "QueryContextChannelBinding");
325 }
326 return null;
327 }
328 return refHandle;
329 }
static readonly System.Net.NetEventSource Log
static void Error(object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
static unsafe int QueryContextChannelBinding(SafeDeleteContext phContext, global::Interop.SspiCli.ContextAttribute contextAttribute, SecPkgContext_Bindings *buffer, SafeFreeContextBufferChannelBinding refHandle)

References System.Net.NetEventSource.Error(), System.Net.NetEventSource.Log, and System.Net.ISSPIInterface.QueryContextChannelBinding().

Referenced by System.Net.Security.SslStreamPal.QueryContextChannelBinding().