Definition at line 620 of file CookieContainer.cs.
621 {
623 {
624 return null;
625 }
626 bool isSecure = uri.Scheme ==
"https" || uri.Scheme ==
"wss";
628 CookieCollection
cookies =
null;
631 string host = uri.Host;
634 int num =
host.IndexOf(
'.');
635 if (num == -1)
636 {
638 {
641 }
642 }
643 else
644 {
647 {
650 {
652 }
654 {
655 while (num <
num2 && (num =
host.IndexOf(
'.', num + 1)) != -1)
656 {
658 {
660 }
662 }
663 }
664 }
665 }
668 {
670 }
672 }
void Add(TKey key, TValue value)
void BuildCookieCollectionFromDomainMatches(Uri uri, bool isSecure, int port, ref CookieCollection cookies, List< string > domainAttribute, bool matchOnlyPlainCookie)
readonly string m_fqdnMyDomain
References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Net.CookieContainer.BuildCookieCollectionFromDomainMatches(), System.Uri.Host, System.list, System.Net.CookieContainer.m_count, System.Net.CookieContainer.m_fqdnMyDomain, and System.Uri.Port.
Referenced by System.Net.CookieContainer.GetCookieHeader(), and System.Net.CookieContainer.GetCookies().