System.Net.Cookie Class

Provides a set of properties and methods that are used to manage cookies. This class cannot be inherited.

See Also: Cookie Members

Syntax

public sealed class Cookie

Remarks

The System.Net.Cookie class is used by a client application to retrieve information about cookies that are received with HTTP responses. The following cookie formats are supported during parsing of the HTTP response headers: the original Netscape specification, RFC 2109, and RFC 2965.

For a list of initial property values for an instance of System.Net.Cookie, see the various System.Net.Cookie constructors.

Requirements

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