CoreWebView2BrowsingDataKinds Enum

Definition

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

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.

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.

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.

BrowsingHistory 4096

Specifies browsing history data.

CacheStorage 16

Specifies data stored by the CacheStorage DOM API.

Cookies 64

Specifies HTTP cookies data.

DiskCache 256

Specifies disk cache.

DownloadHistory 512

Specifies download history data.

FileSystems 1

Specifies file systems 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.

IndexedDb 2

Specifies data stored by the IndexedDB DOM feature.

LocalStorage 4

Specifies data stored by the localStorage DOM API.

PasswordAutosave 2048

Specifies password autosave data.

ServiceWorkers 32768

Specifies service workers registered for an origin, and clear will result in termination and deregistration of them.

Settings 8192

Specifies settings data.

WebSql 8

Specifies data stored by the Web SQL database DOM API.

Applies to