Click or drag to resize
ICookieManagerSetCookieAsync Method
Version 51.0.0
Sets a cookie given a valid URL and explicit user-provided cookie attributes. This function expects each attribute to be well-formed. It will check for disallowed characters (e.g. the ';' character is disallowed within the cookie value attribute) and will return false without setting the cookie if such characters are found.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax
Task<bool> SetCookieAsync(
	string url,
	Cookie cookie
)

Parameters

url
Type: SystemString
The cookie URL
cookie
Type: CefSharpCookie
The cookie

Return Value

Type: TaskBoolean

[Missing <returns> documentation for "M:CefSharp.ICookieManager.SetCookieAsync(System.String,CefSharp.Cookie)"]

See Also