SHDocVw.TWebBrowserHelper.EdgeUserDataFolder
Delphi
property EdgeUserDataFolder: string read GetEdgeUserDataFolder write SetEdgeUserDataFolder;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | SHDocVw.pas | SHDocVw | TWebBrowserHelper |
Description
EdgeUserDataFolder tells Edge (WebView2 runtime) where to store user data.
If SelectedEngine is EdgeOnly or EdgeIfAvailable, then this property tells Edge (more accurately, the WebView2 runtime) in which folder to store user data (e.g., cookies, permissions, and cached resources).
This property defaults to a local app data folder (i.e., the folder whose path is stored in the LOCALAPPDATA environment variable) called <executable_file_name>.WebView2
. The value can contain environment variables surrounded by %%
signs, e.g., %%LOCALAPPDATA%%
Note: Microsoft states, "The app is responsible for cleaning up the associated user data folder when it is done."