Posting this again as: rgilmore@newsgroup.nospam
(Also posted under dotnet.general)
We have a C# .NET app which runs as a service.
It posts data to a server using HttpWebrequest.
According to the docs I 've read, it should use the proxy settings from IE
on the server machine. But it doesn't, it always posts straight to the
server.
I tried forcing it by doing this:
WebProxy defaultProxy = WebProxy.GetDefaultProxy();
webRequest.Proxy = defaultProxy;
But that doesn't seem to make it use the proxy settings either.
On the flip side, a client I have which calls webservices DOES respect the
proxy settings without my ever telling it to do so.
How do I get the HttpWebRequest to respect the IE proxy settings?
thanks
Robb
Kevin Yu [MSFT] - 16 Apr 2005 03:02 GMT
Hi Robb,
Thanks for your posting. Regarding on this issue, I've found another
duplicated thread in microsoft.public.dotnet.general and I have posted
reply there. I'd appreciate if you have a look there. In addition, if you
feel convenient that we continue to discuss in that thread, please feel
free to post there.
Kevin Yu

Signature
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."