Thank you Peter, that's exactly what I was looking for. Regards, Eddie -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of Peter Ritchie Sent: Wednesday, July 04, 2007 12:01 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Accessing files over HTTPS
System.Net.WebClient has an UpdateFile and a DownloadFile method. As long as the server's cert is from a well-known Authority you shouldn't have a problem with an https url. If the cert isn't from a well-known Authority and the Authority isn't in the Trusted Authorities list or the cert isn't in the Trusted Publishers list you'll have to added in advance. WebClient has no UI, so it can't ask the user if the unknown cert is acceptable like IE does, so it just fails. =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com