Gets and sets the number of System.Net.Cookie instances that a System.Net.CookieContainer can hold.
Documentation for this section has not yet been entered.
If CookieContainer.Count equals or exceeds CookieContainer.Capacity, one or more System.Net.Cookie instances are removed from the container. Enough instances are removed to bring CookieContainer.Count below CookieContainer.Capacity as follows: if there are expired System.Net.Cookie instances in scope, they are cleaned up. If not, then the least recently used System.Net.CookieCollection is found and removed from the container.
CookieContainer.Capacity must be greater than or equal to CookieContainer.PerDomainCapacity.