CookieContainer Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The CookieContainer type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add(Uri, Cookie) | Adds the specified Cookie with the specified Uniform Resource Identifier (URI) to this CookieContainer. |
|
Add(Uri, CookieCollection) | Adds the contents of the specified CookieCollection with the specified Uniform Resource Identifier (URI) to this CookieContainer. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetCookieHeader | Gets the HTTP cookie header that contains cookies pertaining to the specified Uniform Resource Identifier (URI). |
|
GetCookies | Gets the CookieCollection associated with the specified Uniform Resource Identifier (URI). |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SetCookies | Creates cookie instances for the cookies specified in the HTTP cookie header and adds them to the CookieContainer associated with the specified Uniform Resource Identifier (URI). |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show: