Movatterモバイル変換


[0]ホーム

URL:


CefSharp API Doc
CefSharp API Doc
Namespaces
CefSharp
ICookieManager Interface
ICookieManager Properties
ICookieManager Methods
Click or drag to resizeClick or drag to resize

ICookieManager Interface

Version 118.6.80
Used for managing cookies. The methods may be called on any thread unless otherwise indicated.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
publicinterfaceICookieManager :IDisposable
publicinterface classICookieManager :IDisposable

TheICookieManager type exposes the following members.

Properties
 NameDescription
Public propertyIsDisposed
Returns true if disposed
Top
Methods
 NameDescription
Public methodDeleteCookies
Delete all cookies that match the specified parameters. If bothurl andname values are specified all host and domain cookies matching both will be deleted. If onlyurl is specified all host cookies (but not domain cookies) irrespective of path will be deleted. Ifurl is empty all cookies for all hosts and domains will be deleted. Cookies can alternately be deleted using the Visit*Cookies() methods.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited fromIDisposable.)
Public methodFlushStore
Flush the backing store (if any) to disk This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implementICompletionCallback and pass in ascallback
Public methodSetCookie
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 fail without setting the cookie if such characters are found. This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implementISetCookieCallback and pass in ascallback
Public methodVisitAllCookies
Visit all cookies on the UI thread. The returned cookies are ordered by longest path, then by earliest creation date.
Public methodVisitUrlCookies
Visit a subset of cookies on the CEF UI thread. The results are filtered by the given url scheme, host, domain and path. The returned cookies are ordered by longest path, then by earliest creation date.
Top
Extension Methods
 NameDescription
Public Extension MethodDeleteCookiesAsync
Deletes all cookies that matches all the provided parameters asynchronously. If bothurl andname are empty, all cookies will be deleted.
(Defined byAsyncExtensions.)
Public Extension MethodFlushStoreAsync
Flush the backing store (if any) to disk.
(Defined byAsyncExtensions.)
Public Extension MethodSetCookieAsync
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
(Defined byAsyncExtensions.)
Public Extension MethodVisitAllCookiesAsync
Visits all cookies. The returned cookies are sorted by longest path, then by earliest creation date.
(Defined byAsyncExtensions.)
Public Extension MethodVisitUrlCookiesAsync
Visits a subset of the cookies. The results are filtered by the given url scheme, host, domain and path. IfincludeHttpOnly is true, HTTP-only cookies will also be included in the results. The returned cookies are sorted by longest path, then by earliest creation date.
(Defined byAsyncExtensions.)
Top
See Also

Reference

CefSharp Namespace

https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE


[8]ページ先頭

©2009-2025 Movatter.jp