Platforms to show: All Mac Windows Linux Cross-Platform
WebView2CookieManagerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
The changes would apply to the context of the user profile. That is, other WebViews under the same user profile could be affected.
All functions may raise WebView2ExceptionMBS in case of errors.
Requires WebView2 version 1.0.705.50 from January 2021.
- event GotCookies(ErrorCode as Integer, Cookies() as WebView2CookieMBS)
- property Handle as Integer
- 11 methods
- method AddOrUpdateCookie(cookie as WebView2CookieMBS)
- method Constructor Private
- method Constructor(cookie as WebView2CookieMBS)
- method CopyCookie(Cookie as WebView2CookieMBS) as WebView2CookieMBS
- method CreateCookie(Name as String, Value as String, Domain as String, Path as String) as WebView2CookieMBS
- method DeleteAllCookies
- method DeleteCookie(cookie as WebView2CookieMBS)
- method DeleteCookies(Name as String, URI as string)
- method DeleteCookiesWithDomainAndPath(Name as String, Domain as string, Path as String)
- method GetCookies(URI as String = "")
- method GetCookiesSync(URI as String = "") as WebView2CookieMBS()
This class has no sub classes.
Some properties using for this class:
- DesktopWebView2ControlMBS.CookieManager as WebView2CookieManagerMBS
- DesktopWebView2ControlMBS.CookieManager as WebView2CookieManagerMBS
- WebView2ControlMBS.CookieManager as WebView2CookieManagerMBS
Some examples using this class:
Blog Entries
- New in MBS Xojo Plugins in version 23.1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 23.1
- WebView2 and Cookies in Xojo
- MBS Xojo Plugins, version 23.1pr4
Release notes
- Version 23.1
- Added WebView2CookieManagerMBS and WebView2CookieMBS classes.
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
WakeNotifierMBS - WebView2CookieMBS