Table of Contents

Enum CoreWebView2CookieSameSiteKind

Namespace
Microsoft.Web.WebView2.Core
Assembly
Microsoft.Web.WebView2.Core.dll

Kind of cookie SameSite status used in the CoreWebView2Cookie class.

public enum CoreWebView2CookieSameSiteKind

Fields

Lax = 1

Lax SameSite type. The cookie will be sent with "same-site" requests, and with "cross-site" top level navigation.

None = 0

None SameSite type. No restrictions on cross-site requests.

Strict = 2

Strict SameSite type. The cookie will only be sent along with "same-site" requests.

Remarks

These fields match those as specified in https://developer.mozilla.org/docs/Web/HTTP/Cookies#. Learn more about SameSite cookies here: https://tools.ietf.org/html/draft-west-first-party-cookies-07