Getting URL in WPF WebBrowser

Recently, I have been working in WPF web browsers, but I cannot get a URI from it. (Unlike the version of WinForms, which has the WebBrowser.Url property). Is there any property that contains it as a Uri or String?

+8
c #
source share
1 answer

You must refer to the WebBrowser.Source property, which contains the Uri object associated with the current view. Take a look at the Microsoft Documentation .

+9
source share

All Articles