Table of Contents

Property Favicon

Namespace
DotNetBrowser.Browser
Assembly
DotNetBrowser.dll

Favicon

Gets the favicon of the currently loaded web page.

Bitmap Favicon { get; }

Property Value

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.

Remarks

Maximum favicon size is 16x16. If the actual favicon size is bigger, then it will be resized to fit this constraint.

Exceptions

ObjectDisposedException

The IBrowser has already been disposed.

ConnectionClosedException

The connection to the Chromium engine is closed.