This documentation is archived and is not being maintained.

Cookie Properties

The properties of the Cookie class are listed here. For a complete list of Cookie class members, see the Cookie Members topic.

Public Properties

public propertyComment Gets or sets a comment that the server can add to a Cookie.
public propertyCommentUri Gets or sets a URI comment that the server can provide with a Cookie.
public propertyDiscard Gets or sets the discard flag set by the server.
public propertyDomain Gets or sets the URI for which the Cookie is valid.
public propertyExpired Gets or sets the current state of the Cookie.
public propertyExpires Gets or sets the expiration date and time for the Cookie as a DateTime.
public propertyName Gets or sets the name for the Cookie.
public propertyPath Gets or sets the URIs to which the Cookie applies .
public propertyPort Gets or sets a list of TCP ports that the Cookie applies to.
public propertySecure Gets or sets the security level of a Cookie.
public propertyTimeStamp Gets the time when the cookie was issued as a DateTime.
public propertyValue Gets or sets the Value for the Cookie.
public propertyVersion Gets or sets the version of HTTP state maintenance to which the cookie conforms.

See Also

Cookie Class | System.Net Namespace