Contents

Posted on

DotNetBrowser 3.5.1

Extend mouse event properties 

The KeyModifiers and MouseButton properties have been added to the MouseExited, MouseEntered, and MouseMoved events in DotNetBrowser to provide additional information about the state of the keyboard modifiers and mouse buttons during these events.

browser.Mouse.Entered.Handler = new Handler<IMouseEnteredEventArgs, InputEventResponse>(p =>
{
    if (p.Button == MouseButton.Left && p.KeyModifiers.ControlDown)
    {
        return InputEventResponse.Suppress;
    }

    return InputEventResponse.Proceed;
});

.Net JavaScript objects string size limit 

Implemented the Chromium design limitation on the maximum string size for JavaScript objects (e.g., IJsObject) when sent from .NET to JavaScript. The limit is 2^28 − 16 bytes for 32-bit and 2^29 − 24 bytes for 64-bit.

To prevent the Chromium process from crashing when this limit is exceeded, an ArgumentException is now thrown.

Chromium 146.0.7680.80 

We upgraded Chromium to a newer version, which introduces two High-severity security fixes for vulnerabilities that have known exploits in the wild:

You can read more about it in the Chromium blog posts:

Quality enhancements 

  • Fixed a memory leak in the Chromium main process that occurred when creating and deleting IProfiles.
  • Restored the original integer values for KeyCode to ensure backward compatibility with previous versions.
  • Improved the process for unpacking DotNetBrowser binaries on macOS to enhance stability and reliability.
  • Improved the behavior of BrowserView visibility changes for the WinForms and AvaloniaUI frameworks.

Download DotNetBrowser 3.5.1

Please share your email with us, and we'll send you download instructions.

We couldn’t deliver a message. Please make sure the email address is correct.
Sending…
EmailBox Please check your inbox.

We were unable to send the email. Please try again.

If you are a registered customer you don’t need to do anything to use this update.

If you would like to evaluate the product, you need an evaluation license.

Get free 30-day trial