Posted on January 22, 2024
DotNetBrowser 2.25.1
SaveFileHandler
dialog handler
In this version, we introduce a new handler that is invoked when the browser executes window.showSaveFilePicker()
on the web page.
If there’s a BrowserView
initialized from this browser, it will show the default file picker. You can also handle this directly in your code and provide a file programmatically:
Browser.Dialogs.SaveFileHandler = new Handler<SaveFileParameters, SaveFileResponse>(p =>
{
return SaveFileResponse.SaveToFile(fileName);
});
Chromium upgraded to 120.0.6099.216
We upgraded Chromium to a newer version, which introduces multiple security fixes, including:
For the complete list of Chromium fixes and improvements in 120.0.6099.216, please visit the product blog post for this version.
Quality enhancements
- The default
OpenFileHandler
in Avalonia UI now respects the suggested start location provided by Chromium.
Download DotNetBrowser 2.25.1 (.NET Framework)
Download DotNetBrowser 2.25.1 (.NET Core)
Download DotNetBrowser 2.25.1 (Cross-platform)
Follow @DotNetBrowser to get notified of the library updates.
Subscribe to our RSS feed to get instant updates on new releases.