Partager via


CoreWebView2Cookie Class

Definition

Provides a set of properties that are used to manage a CoreWebView2Cookie.

public class CoreWebView2Cookie
type CoreWebView2Cookie = class
Public Class CoreWebView2Cookie
Inheritance
CoreWebView2Cookie

Properties

Domain

Gets the domain for which the cookie is valid.

Expires

The expiration date and time for the cookie since the UNIX epoch.

IsHttpOnly

Determines whether this cookie is http-only.

IsSecure

Gets or sets the security level of this cookie.

IsSession

Determines whether this is a session cookie. The default value is false.

Name

Get or sets the cookie name.

Path

Gets the path for which the cookie is valid.

SameSite

Determines the SameSite status of the cookie which represents the enforcement mode of the cookie. The default value is @CoreWebView2CookieSameSiteKind$.Lax.

Value

Gets or sets the cookie value.

Methods

ToSystemNetCookie()

Converts this to a System.Net.Cookie.

Applies to