For Programmers: Free Programming Magazines  


Home > Archive > C# > August 2004 > read proxy settings from IE









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author read proxy settings from IE
ECVerify.com

2004-08-10, 3:58 pm

Can I get an example that will read the proxy settings from IE.

I did not see how to do that, of course I can use System.Net.WebProxy
to set my proxy, but I would like to read the settings that the user
has set up in IE and default some settings.

Thanks in advance.

Ed,
Feroze [msft]

2004-08-13, 3:56 am

You can use System.Net.WebProxy.GetDefaultProxy()

Note that this method will be obsoleted in the new version of the framework.
The new version of the framework offers more features for automatic proxy
detection.

feroze
======================
This posting is provided as-is.
http://weblogs.asp.net/feroze_daud

======================
"ECVerify.com" <google@gencode.com> wrote in message
news:2023c1c9.0408101004.304a9f14@posting.google.com...
> Can I get an example that will read the proxy settings from IE.
>
> I did not see how to do that, of course I can use System.Net.WebProxy
> to set my proxy, but I would like to read the settings that the user
> has set up in IE and default some settings.
>
> Thanks in advance.
>
> Ed,



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com