Click or drag to resize

IBrowserFavicon Property

Gets the favicon of the currently loaded web page.

Namespace:  DotNetBrowser.Browser
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
Bitmap Favicon { get; }

Property Value

Type: Bitmap
The favicon of the currently loaded web page. Will return a default Chromium favicon if the browser did not load any web pages or loaded web page URL is invalid.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IBrowser has already been disposed.
ConnectionClosedExceptionThe connection to the Chromium engine is closed.
Remarks
Maximum favicon size is 16x16. If the actual favicon size is bigger, then it will be resized to fit this constraint.
See Also