This project is read-only.

Support for Proxy Authentication Required


e.g. when working behind an ISA proxy, it requires proxy authentication, separate from the normal HTTP authentication


gauravnandwani wrote Jun 16, 2010 at 2:01 AM

In the GetSource() function, just after you create the WebRequest object: System.Net.WebRequest req = System.Net.WebRequest.Create(link);
The below code will ensure that the current system Proxy is used. You may want to extend this for custom proxy.

WebProxy myProxy = new WebProxy(WebRequest.DefaultWebProxy.GetProxy(new Uri("")));
myProxy.Credentials = CredentialCache.DefaultCredentials;
myProxy.UseDefaultCredentials = true;
req.Proxy = myProxy;

wrote Feb 13, 2013 at 10:55 PM