terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetClientSpecifiedSpn()

string System.Net.NTAuthentication.GetClientSpecifiedSpn ( )
inlineprivate

Definition at line 378 of file NTAuthentication.cs.

379 {
380 bool isCompleted;
381 if (this._securityContext != null)
382 {
383 isCompleted = this._isCompleted;
384 if (isCompleted)
385 {
386 goto IL_0025;
387 }
388 }
389 if (!isCompleted)
390 {
391 }
392 NetEventSource.Fail(this, "Trying to get the client SPN before handshaking is done!", "GetClientSpecifiedSpn");
393 IL_0025:
394 string text = global::System.Net.Security.NegotiateStreamPal.QueryContextClientSpecifiedSpn(this._securityContext);
395 bool isEnabled = NetEventSource.IsEnabled;
396 if (text == null || text != null)
397 {
399 NetEventSource.Info(this, formattableString, "GetClientSpecifiedSpn");
400 return text;
401 }
402 throw new ArrayTypeMismatchException();
403 }
class f__AnonymousType0<< Count > j__TPar
global::System.Net.Security.SafeDeleteContext _securityContext

References System.Net.NTAuthentication._isCompleted, System.Net.NTAuthentication._securityContext, System.Net.NetEventSource.Fail(), System.Net.NetEventSource.Info(), System.Net.NetEventSource.IsEnabled, j__TPar, and System.text.