ICoreWebView2_14

Undocumented in source.

Members

Functions

ClearServerCertificateErrorActions
HRESULT ClearServerCertificateErrorActions(ICoreWebView2ClearServerCertificateErrorActionsCompletedHandler handler)

Clears all cached decisions to proceed with TLS certificate errors from the ServerCertificateErrorDetected event for all WebView2's sharing the same session.

add_ServerCertificateErrorDetected
HRESULT add_ServerCertificateErrorDetected(ICoreWebView2ServerCertificateErrorDetectedEventHandler eventHandler, EventRegistrationToken* token)

Add an event handler for the ServerCertificateErrorDetected event. The ServerCertificateErrorDetected event is raised when the WebView2 cannot verify server's digital certificate while loading a web page.

remove_ServerCertificateErrorDetected
HRESULT remove_ServerCertificateErrorDetected(EventRegistrationToken token)

Remove an event handler previously added with add_ServerCertificateErrorDetected.

Inherited Members

From ICoreWebView2_13

get_Profile
HRESULT get_Profile(ICoreWebView2Profile* value)

The associated ICoreWebView2Profile object. If this CoreWebView2 was created with a CoreWebView2ControllerOptions, the CoreWebView2Profile will match those specified options. Otherwise if this CoreWebView2 was created without a CoreWebView2ControllerOptions, then this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment.

Meta