Screen Scraper Proxy server

Topics: Developer Forum
Mar 19, 2008 at 2:11 PM
Kevin,
Hi, I was wondering if it is possible to use a proxy server with the Screen Scraper ?
Thanks,
Joe
Coordinator
Mar 26, 2008 at 8:52 PM
hey Joe, see if this helps:

http://support.microsoft.com/default.aspx?scid=kb;en-us;318140

Kevin
May 3, 2008 at 4:25 PM
Hi Kevin,
This article was helpful, however I was not able to use a proxy server that requires credentials in the app.config file.

What I did instead, was modified the ScreenScraper class in public domain to have 2 new properties. A bool named UseProxyServer and a WebProxy object named Proxy. I then modified the CreateWebRequest method to check if useProxyServer was true and set the proxy of the webrequest to the WebProxy object.

I also added the UserAgent as a public property because i thought this would be useful to have accessible.

I was wondering if I could contribute my changes to the project. I think others may find them useful as well.

Thanks,
Joe
Coordinator
May 6, 2008 at 12:15 PM
Hey Joe, absolutely! I can either add you as a contributor to the project or you can just email me the code. Let me know which you prefer...

Thanks!
Kevin