Cookie Class (original) (raw)
Version 118.6.80
Class used to Represent a cookie. The built in .Net Cookie class isn't used as some of it's properties have internal setters
Inheritance Hierarchy
Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
public sealed class Cookie
public ref class Cookie sealed
The Cookie type exposes the following members.
Constructors
| | Name | Description | |
| -------------------------------------------------------------------------------------------- | --------------------------------------------- | ---------------------------------------------- |
|
| Cookie | Initializes a new instance of the Cookie class |
Properties
| | Name | Description | |
| -------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| Creation | The cookie creation date. This is automatically populated by the system on cookie creation. |
|
| Domain | If domain is empty a host cookie will be created instead of a domain cookie. Domain cookies are stored with a leading "." and are visible to sub-domains whereas host cookies are not. |
|
| Expires | Expires or null if no expiry |
|
| HttpOnly | Ss true the cookie will only be sent for HTTP requests. |
|
| LastAccess | The cookie last access date. This is automatically populated by the system on access. |
|
| Name | The cookie name |
|
| Path | Ss non-empty only URLs at or below the path will get the cookie value. |
|
| Priority | Priority |
|
| SameSite | Same site. |
|
| Secure | If true the cookie will only be sent for HTTPS requests. |
|
| Value | The cookie value. |
Methods
See Also