System.Net.CookieContainer.PerDomainCapacity Property

Gets and sets the number of System.Net.Cookie instances that a System.Net.CookieContainer can hold per domain.

Syntax

public int PerDomainCapacity { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

If the new CookieContainer.PerDomainCapacity value is less than the current value, and if any of the domain collections contain more System.Net.Cookie instances than the new value, the collections are pruned to fit. This uses the same basic rules as described in the CookieContainer.Capacity property. However, this does the clean-up only on the collection for this domain.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0