I use WebBrowser control to navigate the login page and download the file. Since I cannot find a way to control the download automatically using the control, I use the WebClient class to try to achieve this.
The problem is that since the WebClient not in the same context / session as the browser that I load, this is a "Security Error" screen.
Any ideas on how to pass the context of a WebBrowser session WebBrowser a WebClient ?
g.foley
source share