PdfViewerInstallWebView2Runtime Method |
Installs the Evergreen Microsoft Edge WebView2 Runtime for the current user with Microsoft's installer
(
WebView2BootstrapperPath, run silently; it downloads the runtime) and waits for it, for up to
5 minutes. Returns true when the installer succeeded and the runtime is installed. Call it from a background
thread: it blocks while the runtime is installed.
Namespace: PdfViewer4WinNetAssembly: PdfViewerWinNet (in PdfViewerWinNet.dll) Version: 10.0
Syntaxpublic static bool InstallWebView2Runtime()
Public Shared Function InstallWebView2Runtime As Boolean
Return Value
Booleantrue when the runtime is installed.
See Also