19 if (global::System.Net.NetworkInformation.IPGlobalProperties.InternalGetIPGlobalProperties() !=
null)
103 if (cookie !=
null && cookie.m_domain._stringLength != 0)
105 bool secure = cookie.m_secure;
109 if (!cookie.m_domain_implicit)
111 string domain = cookie.m_domain;
113 char c = domain[(int)num];
115 string domain2 = cookie.m_domain;
118 string path = cookie.m_path;
128 string @
string =
SR.
GetString(
"The parameter '{0}' cannot be an empty string.");
163 if (maxCookiesPerDomain != 0)
192 object val = buckets.val;
196 object key2 = buckets.key;
197 object val2 = buckets.val;
201 object key3 = buckets.key;
202 object val3 = buckets.val;
246 int num2 = host.IndexOf((
char)num);
247 bool flag = host ==
"127.0.0.1";
248 bool flag2 = host ==
"::1";
249 bool flag3 = host ==
"0:0:0:0:0:0:0:1";
273 while (cookie ==
null);
275 string host = uri.Host;
287 string host = uri.Host;
309 string host = uri.Host;
316 string @
string =
SR.
GetString(
"Cookie format error.");
320 if (enumerator !=
null)
324 if (enumerator !=
null)
412 if (enumerator !=
null)
class f__AnonymousType0<< Count > j__TPar
static string GetString(string name, params object[] args)
IEnumerator GetEnumerator()
CookieContainer(int capacity)
CookieCollection CookieCutter(global::System.Uri uri, string headerName, string setCookieHeader, bool isThrow)
int ExpireCollection(CookieCollection cc)
void MergeUpdateCollections(CookieCollection destination, CookieCollection source, int port, bool isSecure, bool isPlainOnly)
void BuildCookieCollectionFromDomainMatches(global::System.Uri uri, bool isSecure, int port, CookieCollection cookies, List< string > domainAttribute, bool matchOnlyPlainCookie)
bool IsLocalDomain(string host)
const int DefaultCookieLengthLimit
CookieContainer(int capacity, int perDomainCapacity, int maxCookieSize)
void Add(Cookie cookie, bool throwOnError)
static readonly HeaderVariantInfo[] HeaderInfo
void SetCookies(global::System.Uri uri, string cookieHeader)
void AddRemoveDomain(string key, PathList value)
string GetCookieHeader(global::System.Uri uri, [Out] string optCookie2)
const int DefaultCookieLimit
void Add(global::System.Uri uri, Cookie cookie)
CookieCollection InternalGetCookies(global::System.Uri uri)
const int DefaultPerDomainCookieLimit
void Add(global::System.Uri uri, CookieCollection cookies)
string GetCookieHeader(global::System.Uri uri)
CookieCollection GetCookies(global::System.Uri uri)
int m_maxCookiesPerDomain
void Add(CookieCollection cookies)
bool AgeCookies(string domain)
static bool IsBlankString(string stringValue)
static void Exit(object obj)
static void Enter(object obj)