CookieContainer.Add Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a Cookie to a CookieContainer.

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.

Return to top
Show: