|
Added the following code to the request object which defaults the request proxy object to the current settings in IE
// prepare the web page we will be asking for
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(query);
request.Proxy =WebRequest.GetSystemWebProxy();
request.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
<font size="2">
Need to check it still works when no proxy is needed.
</font>
|