Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Obtaining URL in WPF WebBrowser

Tags:

c#

.net

I have been working in WPF web browsers lately but I can't seem to be able to get URIs out of it. (Unlike the WinForms version which has the WebBrowser.Url property). Is there any property that holds it either it's as Uri or String?

like image 651
Naufal Fikri Avatar asked Feb 14 '12 07:02

Naufal Fikri


1 Answers

You have to refer to the WebBrowser.Source property that holds the Uri object associated to the current view. Take a look to Microsoft Documentation.

like image 192
AngeloBad Avatar answered Oct 05 '22 02:10

AngeloBad