Export (0) Print
Expand All

CookieContainer Methods

The CookieContainer type exposes the following members.

  Name Description
Public method Add(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.
Public method Add(CookieCollection) Adds the contents of a CookieCollection to the CookieContainer.
Public method Supported by Portable Class Library Add(Uri, Cookie) Adds a Cookie to the CookieContainer for a particular URI.
Public method Supported by Portable Class Library Add(Uri, CookieCollection) Adds the contents of a CookieCollection to the CookieContainer for a particular URI.
Public method Supported by Portable Class Library Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by Portable Class Library GetCookieHeader Gets the HTTP cookie header that contains the HTTP cookies that represent the Cookie instances that are associated with a specific URI.
Public method Supported by Portable Class Library GetCookies Gets a CookieCollection that contains the Cookie instances that are associated with a specific URI.
Public method Supported by Portable Class Library GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Portable Class Library SetCookies Adds Cookie instances for one or more cookies from an HTTP cookie header to the CookieContainer for a specific URI.
Public method Supported by Portable Class Library ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2015 Microsoft