Greetings,
I am creating an application for browsing our intranet using VS C# and a webbrowser control.
What I want to do is:
Capture the url string before navigation and compare it to a handful of domains I have in an array. If it matches, allow the navigation. If it dosen't match, cancel the navigation. This will prevent navigating outside the intranet.
How do I capture the url string before the navigation takes place?
I am creating an application for browsing our intranet using VS C# and a webbrowser control.
What I want to do is:
Capture the url string before navigation and compare it to a handful of domains I have in an array. If it matches, allow the navigation. If it dosen't match, cancel the navigation. This will prevent navigating outside the intranet.
How do I capture the url string before the navigation takes place?