ZennoLab Assemblies Documentation
Remove(ICookieContainer) Method
Example 
ZennoLab.InterfacesLibrary.ProjectModel Namespace > ICookieContainer Interface > Remove Method : Remove(ICookieContainer) Method

Type: ICookieContainer

The cookie container.

Removes the contents of an another container from the container.
Syntax
void Remove( 
   ICookieContainer container
)

Parameters

container

Type: ICookieContainer

The cookie container.

Example
The following code example demonstrates the Add method.
// create new cookie container
var container = new CookieContainer();
// use new cookie container for http request
ZennoPoster.HTTP.Request(InterfacesLibrary.Enums.Http.HttpMethod.GET, "https://zennolab.com", cookieContainer: container);
// remove the contents of the new container from profile's container
project.Profile.CookieContainer.Remove(container);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ICookieContainer Interface
ICookieContainer Members
Overload List