CookieContainer Methods

CookieContainer Methods

 

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAdd(Cookie)

Adds a Cookie to a CookieContainer. This method uses the domain from the Cookie to determine which domain collection to associate the Cookie with.

System_CAPS_pubmethodAdd(CookieCollection)

Adds the contents of a CookieCollection to the CookieContainer.

System_CAPS_pubmethodAdd(Uri, Cookie)

Adds a Cookie to the CookieContainer for a particular URI.

System_CAPS_pubmethodAdd(Uri, CookieCollection)

Adds the contents of a CookieCollection to the CookieContainer for a particular URI.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetCookieHeader(Uri)

Gets the HTTP cookie header that contains the HTTP cookies that represent the Cookie instances that are associated with a specific URI.

System_CAPS_pubmethodGetCookies(Uri)

Gets a CookieCollection that contains the Cookie instances that are associated with a specific URI.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSetCookies(Uri, String)

Adds Cookie instances for one or more cookies from an HTTP cookie header to the CookieContainer for a specific URI.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2016 Microsoft