CookieContainer Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The CookieContainer type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Add(Uri, Cookie) Adds the specified Cookie with the specified Uniform Resource Identifier (URI) to this CookieContainer.
Public methodSupported by Silverlight for Windows Phone Add(Uri, CookieCollection) Adds the contents of the specified CookieCollection with the specified Uniform Resource Identifier (URI) to this CookieContainer.
Public methodSupported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone 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.)
Public methodSupported by Silverlight for Windows Phone GetCookieHeader Gets the HTTP cookie header that contains cookies pertaining to the specified Uniform Resource Identifier (URI).
Public methodSupported by Silverlight for Windows Phone GetCookies Gets the CookieCollection associated with the specified Uniform Resource Identifier (URI).
Public methodSupported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone 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).
Public methodSupported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)

Top