ICoreWebView2CookieManager.CreateCookie

Create a cookie object with a specified name, value, domain, and path. One can set other optional properties after cookie creation. This only creates a cookie object and it is not added to the cookie manager until you call AddOrUpdateCookie. Leading or trailing whitespace(s), empty string, and special characters are not allowed for name. See ICoreWebView2Cookie for more details.

interface ICoreWebView2CookieManager
HRESULT
CreateCookie
(
in LPCWSTR name
,
in LPCWSTR value
,
in LPCWSTR domain
,
in LPCWSTR path
,)

Meta