Click or drag to resize

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: PdfViewer4WinNet.Wpf
Assembly: PdfViewerWinNet (in PdfViewerWinNet.dll) Version: 10.0
Syntax
public static bool InstallWebView2Runtime()

Return Value

Boolean
true when the runtime is installed.
See Also