This documentation is archived and is not being maintained.

CookieContainer Constructor ()

.NET Framework 1.1

Initializes a new instance of the CookieContainer class.

[Visual Basic]
Public Sub New()
[C#]
public CookieContainer();
[C++]
public: CookieContainer();
[JScript]
public function CookieContainer();

Remarks

The default constructor initializes all fields to their default values. DefaultCookieLimit is used to initialize Capacity, DefaultCookieLengthLimit is used for MaxCookieSize, and DefaultPerDomainCookieLimit is used for PerDomainCapacity.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CookieContainer Class | CookieContainer Members | System.Net Namespace | CookieContainer Constructor Overload List | Cookie | CookieCollection | CookieContainer | CookieException

Show: