DevWebBrowserSetCookies(String, Boolean, CookieCollection) Method
Sets one or more cookies for the specified URL.
Namespace: DevCase.UI.ControlsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public void SetCookies(
string url,
bool persistent,
CookieCollection cookies
)
Public Sub SetCookies (
url As String,
persistent As Boolean,
cookies As CookieCollection
)
Dim instance As DevWebBrowser
Dim url As String
Dim persistent As Boolean
Dim cookies As CookieCollection
instance.SetCookies(url, persistent, cookies)
public:
void SetCookies(
String^ url,
bool persistent,
CookieCollection^ cookies
)
member SetCookies :
url : string *
persistent : bool *
cookies : CookieCollection -> unit
No code example is currently available or this language may not be supported.
Parameters
- url String
-
The URL.
- persistent Boolean
-
A value that indicates the cookie persistance.
If set to (persistent), the cookie is set in the operating system cache.
If set to (non-persistent), the cookie is only set for the life-time of the current process.
- cookies CookieCollection
-
The cookies to set.