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

◆ ValidateImpersonationLevel()

static void System.Net.Security.NegotiateStreamPal.ValidateImpersonationLevel ( TokenImpersonationLevel impersonationLevel)
inlinestaticpackage

Definition at line 52 of file NegotiateStreamPal.cs.

53 {
54 if (impersonationLevel != TokenImpersonationLevel.Identification && impersonationLevel != TokenImpersonationLevel.Impersonation && impersonationLevel != TokenImpersonationLevel.Delegation)
55 {
56 throw new ArgumentOutOfRangeException("impersonationLevel", impersonationLevel.ToString(), System.SR.net_auth_supported_impl_levels);
57 }
58 }
static string net_auth_supported_impl_levels
Definition SR.cs:64
Definition SR.cs:7

References System.SR.net_auth_supported_impl_levels.

Referenced by System.Net.Security.NegotiateStream.ValidateCreateContext().