Hello WiseJ team,
i want to know if there a possibility to get the redirected url from a WebBrowser Control?
For example: the initial Uri was: http://example.com and after the load this site, it do a redirect to http://newWebSite.com, there is some way to get the new url, because i saw that the Url of the WebBrowser control does not change after the redirection?
Thanks, Best.
Hi,
this might depend on how the redirection is done.
I just tried here with 2 local htm files and a redirection via meta refresh tag.
In that case I get 2 DocumentCompleted events, one for the original and one for the redirected url.
Maybe this also works in your environment ?
Find a simple example attached.
Best regards
Frank
Please login first to submit.