Compartir a través de


CoreWebView2EnvironmentOptions.TargetCompatibleBrowserVersion Property

Definition

Gets or sets the version of the WebView2 Runtime binaries required to be compatible with your app.

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

Property Value

Remarks

This defaults to the WebView2 Runtime version that corresponds with the version of the SDK the app is using. The format of this value is the same as the format of the BrowserVersionString property and other BrowserVersion values. Only the version part of the BrowserVersion value is respected. The channel suffix, if it exists, is ignored. The version of the WebView2 Runtime binaries actually used may be different from the specified TargetCompatibleBrowserVersion. The binaries are only guaranteed to be compatible. Verify the actual version on the BrowserVersionString property.

Applies to