B Bob Hall May 17, 2004 #1 In particular is it possible to use the default proxy to download webclient.DownloadFile(address,filename)? bob
In particular is it possible to use the default proxy to download webclient.DownloadFile(address,filename)? bob
G Guest May 17, 2004 #2 Hey Bob WebClient uses WebRequest so if your are using HTTP to download the file, this link may be of help to you: http://msdn.microsoft.com/library/d...de/html/cpconprogrammingpluggableprotocols.as If you are using something other that HTTP, I believe (and right now I am guessing) that you can register a type inheriting WebRequest with the WebRequest.RegisterPrefix which uses the WebProxy object that you need I hope this will help you :- Regards, Jakob
Hey Bob WebClient uses WebRequest so if your are using HTTP to download the file, this link may be of help to you: http://msdn.microsoft.com/library/d...de/html/cpconprogrammingpluggableprotocols.as If you are using something other that HTTP, I believe (and right now I am guessing) that you can register a type inheriting WebRequest with the WebRequest.RegisterPrefix which uses the WebProxy object that you need I hope this will help you :- Regards, Jakob