| ICookieManagerSetCookie Method  | 
Version 73.1.130 
            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.
            This method will be executed on the CEF IO thread in an async fashion, to be notified upon completion implement 
ISetCookieCallback
            and pass in as 
callback 
    Namespace: 
   CefSharp
    Assembly:
   CefSharp (in CefSharp.dll) Version: 73.1.130.0 (73.1.130.0)
 Syntax
Syntaxbool SetCookie(
	string url,
	Cookie cookie,
	ISetCookieCallback callback = null
)
bool SetCookie(
	String^ url, 
	Cookie^ cookie, 
	ISetCookieCallback^ callback = nullptr
)
Parameters
- url
- Type: SystemString
 The cookie URL
- cookie
- Type: CefSharpCookie
 The cookie
- callback (Optional)
- Type: CefSharpISetCookieCallback
 If non-NULL it will be executed asnychronously on the CEF IO thread after the cookie has been set.
Return Value
Type: 
Booleanreturns false if the cookie cannot be set (e.g. if illegal charecters such as ';' are used); otherwise true.
 See Also
See Also