WebClient.DownloadFile method and HTTPS - is it an HTTPS connection?

Someone asked on Stack Overflow:

Cutting out a lot of irrelevant information, the basics are that I have a web address like so:

https://dinglydangs.com/download.dll?request=file&name=dunderdata.csv

I am using WebClient.DownloadFile to, well, download the file. I need to know if, because it is an https link, this method is using an HTTPS connection to download the file. If not, what steps would I need to take to ensure an HTTPS connection is used?

Possibly relevant: The link itself is sent to me in an e-mail. No actual authentication is required, I simply navigate to the link and the file downloads.

I posted the following answer, which was chosen as the accepted answer and received 1 upvote:

WebClient will use the protocol specified in the Uri you pass the download method. You don’t have to do anything special to make this happen.

You can use a tool like Fiddler to verify this, by checking the connections going out from your machine.

Notable comments

Nate (0 upvotes): So, I said uri and the method accepts address both are a pointer to the online resource you want to download. As long the online resource link is https, the connection will be over https…


Originally posted on Stack Overflow — 1 upvotes (accepted answer). Licensed under CC BY-SA.

signed letter b

Dad. Geek. Gamer. Software developer. Cloud user. Old Car enthusiast.  Blogger.


Top Posts


profile for Nate on Stack Exchange, a network of free, community-driven Q&A sites
a proud member of the blue team of 512KB club
Thoughts, opinions, and ideas shared here are my own. © 2026 Nate Bross.