I have a connection to a web service with an option to add proxy details. This works fine. However, it seems to fail when the proxy is not just an address, but and address with a file name… for example;
myproxy.com/proxypac.asp
It is this filename at the end that seems to be giving me issues. I am initialising my WebProxy as such;
System.Net.WebProxy wp = new System.Net.WebProxy(location.ProxyAddress, location.ProxyPort);
Can anyone offer any pointers?
Have you tried :
Or
A workaround would be to open your file and check its content to see the proxy adress and port you get.
If you download your
myproxy.com/proxypac.aspfile it should look like this :