共用方式為


CoreWebView2SaveFileSecurityCheckStartingEventArgs Class

Event args for the CoreWebView2.SaveFileSecurityCheckStarting event.

Summary

Members Description
CancelSave Set if cancel the upcoming save/download.
DocumentOriginUri Get the document origin URI of this file save operation.
FileExtension Get the extension of file to be saved.
FilePath Get the full path of file to be saved. This includes the file name and extension.
SuppressDefaultPolicy Set if the default policy checking and security warning will be suppressed.
GetDeferral Returns a Deferral object.

Properties

CancelSave

bool CancelSave

Set if cancel the upcoming save/download.

DocumentOriginUri

readonly string DocumentOriginUri

Get the document origin URI of this file save operation.

FileExtension

readonly string FileExtension

Get the extension of file to be saved.

FilePath

readonly string FilePath

Get the full path of file to be saved. This includes the file name and extension.

SuppressDefaultPolicy

bool SuppressDefaultPolicy

Set if the default policy checking and security warning will be suppressed.

Methods

GetDeferral

Deferral GetDeferral()

Returns a Deferral object. It will put the event into a deferred state. The default policy checking and any default UI will be blocked temporarily, saving file to local won't start, until the deferral is completed.

Referenced by