ICoreWebView2EnvironmentOptions.get_TargetCompatibleBrowserVersion

Specifies the version of the WebView2 Runtime binaries required to be compatible with your app. 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 on the ICoreWebView2Environment.

The caller must free the returned string with CoTaskMemFree. See API Conventions.

interface ICoreWebView2EnvironmentOptions
@" propget"
HRESULT
get_TargetCompatibleBrowserVersion
(
LPWSTR* value
)
Suggestion Box / Bug Report