Enum CoreWebView2BrowsingDataKinds
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.
[Flags]
public enum CoreWebView2BrowsingDataKinds
  Fields
AllDomStorage = 32Specifies 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.
AllProfile = 16384Specifies 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.
AllSite = 128Specifies 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.
BrowsingHistory = 4096Specifies browsing history data.
CacheStorage = 16Specifies data stored by the CacheStorage DOM API.
Cookies = 64Specifies HTTP cookies data.
DiskCache = 256Specifies disk cache.
DownloadHistory = 512Specifies download history data.
FileSystems = 1Specifies file systems data.
GeneralAutofill = 1024Specifies 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.
IndexedDb = 2Specifies data stored by the IndexedDB DOM feature.
LocalStorage = 4Specifies data stored by the localStorage DOM API.
PasswordAutosave = 2048Specifies password autosave data.
ServiceWorkers = 32768Specifies service workers registered for an origin, and clear will result in termination and deregistration of them.
Settings = 8192Specifies settings data.
WebSql = 8Specifies data stored by the Web SQL database DOM API.