Click or drag to resize

IBrowserUrl Property

Gets the URL of the currently loaded web page or an empty string if the browser hasn't loaded any web page yet.

Namespace:  DotNetBrowser.Browser
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.2
Syntax
C#
string Url { get; }

Property Value

Type: String
The URL of the currently loaded web page. Can be an empty string if the browser hasn't loaded any web page yet.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IBrowser has already been disposed.
ConnectionClosedExceptionThe connection to the Chromium engine is closed.
See Also