Posted on March 23, 2023

DotNetBrowser 2.22

What’s new

Chromium

We upgraded the Chromium engine to version 111.0.5563.65 which includes 40 security fixes.

Asynchronous JavaScript execution

We added InvokeAsync() methods to IJsObject and IJsFunction. It allows executing JavaScript functions without blocking the current .NET thread:

IJsObject window = frame.ExecuteJavaScript<IJsObject>("window").Result;
window.InvokeAsync("alert", "Hello world!");

Network prediction

Chromium has a default setting that allows preloading the most visited pages for faster browsing. This is done by DNS prefetching, TCP and SSL preconnection, prerendering of web pages, and resource prefetching.

This update provides API to disable this feature:

browser.Profile.Preferences.NetworkPredictionEnabled = false;

Quality enhancements

  • Fixed issue with custom cursors scaling on HiDPI monitors.
  • Fixed issue when PDF viewer did not display some Turkish characters.

Download DotNetBrowser 2.22 (.NET Framework)
Download DotNetBrowser 2.22 (.NET Core)
Download DotNetBrowser 2.22 (Cross-platform)

Get free 30-day trial

Go Top