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 | | | -------------------------------------------------------------------------------------------- | --------------------------------------------- | ---------------------------------------------- | | Public method | Cookie | Initializes a new instance of the Cookie class |

Top

Properties

| | Name | Description | | | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Public property | Creation | The cookie creation date. This is automatically populated by the system on cookie creation. | | Public property | 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. | | Public property | Expires | Expires or null if no expiry | | Public property | HttpOnly | Ss true the cookie will only be sent for HTTP requests. | | Public property | LastAccess | The cookie last access date. This is automatically populated by the system on access. | | Public property | Name | The cookie name | | Public property | Path | Ss non-empty only URLs at or below the path will get the cookie value. | | Public property | Priority | Priority | | Public property | SameSite | Same site. | | Public property | Secure | If true the cookie will only be sent for HTTPS requests. | | Public property | Value | The cookie value. |

Top

Methods

See Also

Reference