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

◆ ApplyShutdownToken()

static SecurityStatusPal System.Net.Security.SslStreamPal.ApplyShutdownToken ( ref SafeFreeCredentials credentialsHandle,
SafeDeleteContext securityContext )
inlinestatic

Definition at line 293 of file SslStreamPal.cs.

294 {
295 SecurityBuffer inputBuffer = new SecurityBuffer(s_schannelShutdownBytes, SecurityBufferType.SECBUFFER_TOKEN);
296 global::Interop.SECURITY_STATUS win32SecurityStatus = (global::Interop.SECURITY_STATUS)SSPIWrapper.ApplyControlToken(GlobalSSPI.SSPISecureChannel, ref securityContext, in inputBuffer);
297 return SecurityStatusAdapterPal.GetSecurityStatusPalFromInterop(win32SecurityStatus, attachException: true);
298 }
static readonly byte[] s_schannelShutdownBytes

References System.Net.SSPIWrapper.ApplyControlToken(), System.Net.SecurityStatusAdapterPal.GetSecurityStatusPalFromInterop(), System.Net.Security.SslStreamPal.s_schannelShutdownBytes, and System.Net.GlobalSSPI.SSPISecureChannel.

Referenced by System.Net.Security.SecureChannel.CreateShutdownToken().