GetAvailableCoreWebView2BrowserVersionStringfunction
Get the browser version info including channel name if it is not the WebView2 Runtime.
Syntax
FUNCTION GetAvailableCoreWebView2BrowserVersionString (BYVAL browserExecutableFolder AS PCWSTR, BYVAL versionInfo AS LPWSTR PTR) AS HRESULT
FUNCTION GetAvailableCoreWebView2BrowserVersionString (BYVAL browserExecutableFolder AS PCWSTR, BYVAL versionInfo AS LPWSTR PTR) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
browserExecutableFolder | [in] Relative path to the folder that contains the embedded Edge. | |
versionInfo | [out] Pointer to an unicode string that will receive version information. | |
browserExecutableFolder | [in] Relative path to the folder that contains the embedded Edge. | |
versionInfo | [out] Pointer to an unicode string that will receive version information. |
Description
Get the browser version info including channel name if it is not the stable channel or the Embedded Edge.
Remarks
Channel names are beta, dev, and canary. If an override exists for the browserExecutableFolder or the channel preference, the override will be used. If there isn't an override, then the parameter passed to GetAvailableCoreWebView2BrowserVersionString is used.
Reference
- Defined in AfxNova/AfxWebView2.bi:1100
- Documented in WebView/CWebWiew2 Class.md
- Topic: CWebView2 Class