Cookie Properties
.NET Framework 4.5
The Cookie type exposes the following members.
| Name | Description | |
|---|---|---|
|
Comment | Gets or sets a comment that the server can add to a Cookie. |
|
CommentUri | Gets or sets a URI comment that the server can provide with a Cookie. |
|
Discard | Gets or sets the discard flag set by the server. |
|
Domain | Gets or sets the URI for which the Cookie is valid. |
|
Expired | Gets or sets the current state of the Cookie. |
|
Expires | Gets or sets the expiration date and time for the Cookie as a DateTime. |
|
HttpOnly | Determines whether a page script or other active content can access this cookie. |
|
Name | Gets or sets the name for the Cookie. |
|
Path | Gets or sets the URIs to which the Cookie applies. |
|
Port | Gets or sets a list of TCP ports that the Cookie applies to. |
|
Secure | Gets or sets the security level of a Cookie. |
|
TimeStamp | Gets the time when the cookie was issued as a DateTime. |
|
Value | Gets or sets the Value for the Cookie. |
|
Version | Gets or sets the version of HTTP state maintenance to which the cookie conforms. |