ICoreWebView2_5

Undocumented in source.

Members

Functions

add_ClientCertificateRequested
HRESULT add_ClientCertificateRequested(ICoreWebView2ClientCertificateRequestedEventHandler eventHandler, EventRegistrationToken* token)

Add an event handler for the ClientCertificateRequested event. The ClientCertificateRequested event is raised when the WebView2 is making a request to an HTTP server that needs a client certificate for HTTP authentication. Read more about HTTP client certificates at RFC 8446 The Transport Layer Security (TLS) Protocol Version 1.3.

remove_ClientCertificateRequested
HRESULT remove_ClientCertificateRequested(EventRegistrationToken token)

Remove an event handler previously added with add_ClientCertificateRequested.

Inherited Members

From ICoreWebView2_4

add_FrameCreated
HRESULT add_FrameCreated(ICoreWebView2FrameCreatedEventHandler eventHandler, EventRegistrationToken* token)

Raised when a new iframe is created. Handle this event to get access to ICoreWebView2Frame objects. Use ICoreWebView2Frame.add_Destroyed to listen for when this iframe goes away.

remove_FrameCreated
HRESULT remove_FrameCreated(EventRegistrationToken token)

Remove an event handler previously added with add_FrameCreated.

add_DownloadStarting
HRESULT add_DownloadStarting(ICoreWebView2DownloadStartingEventHandler eventHandler, EventRegistrationToken* token)

Add an event handler for the DownloadStarting event. This event is raised when a download has begun, blocking the default download dialog, but not blocking the progress of the download.

remove_DownloadStarting
HRESULT remove_DownloadStarting(EventRegistrationToken token)

Remove an event handler previously added with add_DownloadStarting.

Meta