473,373 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,373 software developers and data experts.

System.Net.WebProxy.GetDefaultProxy() and proxy servers

I am building a C# desktop application in .Net 1.1 that consumes web
services. I use System.Net.WebProxy.GetDefaultProxy() to get the proxy
settings from IE but I get reports from people who are using proxy servers
that this doesn't work and the web service does not connect.

System.Net.WebProxy proxy = System.Net.WebProxy.GetDefaultProxy();

Any suggestions on how I can get the actual proxy settings that IE is using,
even if it configured with a configuration script?

Michael S. Scherotter
Business Solutions Architect
Mindjet Corporation
Nov 23 '05 #1
0 3633

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Steve Binney | last post by:
My code makes synchronous HttpWebRequest and HttpRebResponse calls. In VS 2003, I am getting memory leaks and event handle leaks. I am closing all streams and using "using"statements. I have...
by: Jamie Laundon | last post by:
Hi, WebProxy.GetDefaultProxy() has been deprecated in .NET 2.0, what is the preferred new method of retrieving IE Proxy settings? Thanks, Jamie
by: vooose | last post by:
Consider accessing a webpage through a proxy server: WebRequest request = WebRequest.Create("http://somepage.com"); WebProxy proxy = new WebProxy(proxyHost, proxyPort); proxy.Credentials = new...
by: A User | last post by:
Very strange - this code is copy and paste from the net and works on 2 of my 3 development machines - but of course not the machine I need to run it on. I've seen similar posts, but no solutions...
by: Anonymous | last post by:
What can cause this error from the following code? An unhandled exception of type 'System.Net.WebException' occurred in system.dll Additional information: The underlying connection was closed:...
by: Sam Santiago | last post by:
I am using the WebProxy.GetDefaultProxy() function to read the IE settings, but it's returning an empty WebProxy object. Are there any known reasons why this is not reading the proxy settings in IE...
by: TheMaxx | last post by:
I try getting response from web site through proxy in my domain: WebClient wc = new WebClient(); WebProxy wProxy = new WebProxy(); CredentialCache cc = new CredentialCache();...
by: goddyg | last post by:
I have a windows form application that needs to pass through a proxy to get access to the internet. As a test, I have successfully hardcoded my login/password/domain combination and been able to...
by: Phil | last post by:
According to the help this method is obsolete, but there is no hint as to what to use now instead. It does seem to work for me, although I get a warning error from the compiler. The warning...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.