The Cookie type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | Cookie(String, String) |
Initializes a new instance of the Cookie class with a specific name and value.
|
![]() | Cookie(String, String, String) |
Initializes a new instance of the Cookie class with a specific name,
value, and path.
|
![]() | Cookie(String, String, String, Nullable DateTime ) |
Initializes a new instance of the Cookie class with a specific name,
value, path and expiration date.
|
![]() | Cookie(String, String, String, String, Nullable DateTime ) |
Initializes a new instance of the Cookie class with a specific name,
value, domain, path and expiration date.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Overrides ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Overrides ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ToString |
Creates and returns a string representation of the cookie.
(Overrides ![]() |
Properties
Name | Description | |
---|---|---|
![]() | Domain |
Gets the domain of the cookie.
|
![]() | Expiry |
Gets the expiration date of the cookie.
|
![]() | Name |
Gets the name of the cookie.
|
![]() | Path |
Gets the path of the cookie.
|
![]() | Secure |
Gets a value indicating whether the cookie is secure.
|
![]() | Value |
Gets the value of the cookie.
|
See Also