Compartilhar via


CoreWebView2Profile.DefaultDownloadFolderPath Property

Definition

The default download folder path.

public string DefaultDownloadFolderPath { get; set; }
member this.DefaultDownloadFolderPath : string with get, set
Public Property DefaultDownloadFolderPath As String

Property Value

Remarks

The default value is the system default download folder path for the user. The default download folder path is persisted in the user data folder across sessions. The value should be an absolute path to a folder that the user and application can write to. Throws an exception if the value is invalid, and the default download path is not changed. Otherwise the path is changed immediately. If the directory does not yet exist, it is created at the time of the next download. If the host application does not have permission to create the directory, then the user is prompted to provide a new path through the Save As dialog. The user can override the default download folder path for a given download by choosing a different path in the Save As dialog.

Applies to