共用方式為


CoreWebView2Cookie.SameSite Property

Definition

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

public Microsoft.Web.WebView2.Core.CoreWebView2CookieSameSiteKind SameSite { get; set; }
member this.SameSite : Microsoft.Web.WebView2.Core.CoreWebView2CookieSameSiteKind with get, set
Public Property SameSite As CoreWebView2CookieSameSiteKind

Property Value

Remarks

The default value is Lax.

Applies to