Table of Contents

Class CoreWebView2ServerCertificateErrorDetectedEventArgs

Namespace
Microsoft.Web.WebView2.Core
Assembly
Microsoft.Web.WebView2.Core.dll

Event args for the ServerCertificateErrorDetected event.

public class CoreWebView2ServerCertificateErrorDetectedEventArgs : EventArgs
Inheritance
CoreWebView2ServerCertificateErrorDetectedEventArgs
Inherited Members

Properties

Action

The action of the server certificate error detection.

public CoreWebView2ServerCertificateErrorAction Action { get; set; }

Property Value

CoreWebView2ServerCertificateErrorAction

Remarks

The default value is Default.

ErrorStatus

The TLS error code for the invalid certificate.

public CoreWebView2WebErrorStatus ErrorStatus { get; }

Property Value

CoreWebView2WebErrorStatus

RequestUri

URI associated with the request for the invalid certificate.

public string RequestUri { get; }

Property Value

string

ServerCertificate

public CoreWebView2Certificate ServerCertificate { get; }

Property Value

CoreWebView2Certificate

Methods

GetDeferral()

Gets a CoreWebView2Deferral object.

public CoreWebView2Deferral GetDeferral()

Returns

CoreWebView2Deferral

Remarks

Use this to Complete() the event at a later time.