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

◆ IsDomainEqualToHost()

static bool System.Net.Cookie.IsDomainEqualToHost ( string domain,
string host )
inlinestaticprivate

Definition at line 367 of file Cookie.cs.

368 {
369 if (host.Length + 1 == domain.Length)
370 {
371 return string.Compare(host, 0, domain, 1, host.Length, StringComparison.OrdinalIgnoreCase) == 0;
372 }
373 return false;
374 }

Referenced by System.Net.Cookie.VerifySetDefaults().