I cannot seem to find a way to make the system.net.webclient work through a proxy server. Web Services has a proxy member but webclient does not ... odd.
Anyone have any reasonable idea on how to make the System.Net.WebClient work through a proxy server?
Dim wc As New System.Net.WebClient
Doing this through a proxy throws the following exception:
System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
ring address, String fileName)
I have Web Services working through proxies with the following code ...
Dim ws As com.whatever.www.myWebService
Dim proxyObject As New System.Net.WebProxy("myPro
ocal = True
proxyObject.Credentials = System.Net.CredentialCache
ws.Proxy = proxyObject
Surprising that the System.Net.WebClient does not support this same member.