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

◆ AuthenticateAsClient() [3/5]

virtual void System.Net.Security.NegotiateStream.AuthenticateAsClient ( NetworkCredential credential,
ChannelBinding? binding,
string targetName,
ProtectionLevel requiredProtectionLevel,
TokenImpersonationLevel allowedImpersonationLevel )
inlinevirtual

Definition at line 391 of file NegotiateStream.cs.

392 {
393 ValidateCreateContext("Negotiate", isServer: false, credential, targetName, binding, requiredProtectionLevel, allowedImpersonationLevel);
394 AuthenticateAsync(new SyncReadWriteAdapter(base.InnerStream), "AuthenticateAsClient").GetAwaiter().GetResult();
395 }
void ValidateCreateContext(string package, NetworkCredential credential, string servicePrincipalName, ExtendedProtectionPolicy policy, ProtectionLevel protectionLevel, TokenImpersonationLevel impersonationLevel)

References System.Net.Security.NegotiateStream.ValidateCreateContext().