CoreWebView2BrowsingDataKinds Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the kind of browsing data to clear. Or operations can be applied to create a mask representing multiple CoreWebView2BrowsingDataKinds. The resulting mask may be passed to ClearBrowsingDataAsync(CoreWebView2BrowsingDataKinds) or ClearBrowsingDataAsync(CoreWebView2BrowsingDataKinds, DateTime, DateTime) to clear the corresponding data.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum CoreWebView2BrowsingDataKinds
[<System.Flags>]
type CoreWebView2BrowsingDataKinds =
Public Enum CoreWebView2BrowsingDataKinds
- Inheritance
-
CoreWebView2BrowsingDataKinds
- Attributes
Fields
Name | Value | Description |
---|---|---|
FileSystems | 1 | Specifies file systems data. |
IndexedDb | 2 | Specifies data stored by the IndexedDB DOM feature. |
LocalStorage | 4 | Specifies data stored by the localStorage DOM API. |
WebSql | 8 | Specifies data stored by the Web SQL database DOM API. |
CacheStorage | 16 | Specifies data stored by the CacheStorage DOM API. |
AllDomStorage | 32 | Specifies DOM storage data, now and future. This browsing data kind is inclusive of CoreWebView2BrowsingDataKinds.FileSystems, CoreWebView2BrowsingDataKinds.IndexedDb, CoreWebView2BrowsingDataKinds.WebSql, CoreWebView2BrowsingDataKinds.ServiceWorkers, CoreWebView2BrowsingDataKinds.CacheStorage, and some other data kinds not listed yet to keep consistent with DOM-accessible storage. |
Cookies | 64 | Specifies HTTP cookies data. |
AllSite | 128 | Specifies all site data, now and future. This browsing data kind is inclusive of CoreWebView2BrowsingDataKinds.AllDomStorage and CoreWebView2BrowsingDataKinds.Cookies. New site data types may be added to this data kind in the future. |
DiskCache | 256 | Specifies disk cache. |
DownloadHistory | 512 | Specifies download history data. |
GeneralAutofill | 1024 | Specifies general autofill form data. This excludes password information and includes information like: names, street and email addresses, phone numbers, and arbitrary input. This also includes payment data. |
PasswordAutosave | 2048 | Specifies password autosave data. |
BrowsingHistory | 4096 | Specifies browsing history data. |
Settings | 8192 | Specifies settings data. |
AllProfile | 16384 | Specifies profile data that should be wiped to make it look like a new profile. This does not delete account-scoped data like passwords but will remove access to account-scoped data by signing the user out. Specifies all profile data, now and future. New profile data types may be added to this data kind in the future. This browsing data kind is inclusive of AllSite, DiskCache, DownloadHistory, GeneralAutofill, PasswordAutosave, BrowsingHistory, Settings. |
ServiceWorkers | 32768 | Specifies service workers registered for an origin, and clear will result in termination and deregistration of them. |