Initializes a new instance of the CookieContainer class with a specified value for the number of Cookie instances that the container can hold.
The number of Cookie instances that the CookieContainer can hold.
capacity is less than or equal to zero.
PerDomainCapacity is initialized to 20, and MaxCookieSize is initialized to 4096.
CookieCookieCollectionCookieContainerCookieExceptionCookieContainer OverloadSystem.Net Namespace