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

◆ IsServerNonceStale()

static bool System.Net.Http.AuthenticationHelper.IsServerNonceStale ( DigestResponse digestResponse)
inlinestatic

Definition at line 575 of file AuthenticationHelper.cs.

576 {
577 if (digestResponse.Parameters.TryGetValue("stale", out var value))
578 {
579 return value == "true";
580 }
581 return false;
582 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.

Referenced by System.Net.Http.AuthenticationHelper.SendWithAuthAsync().