This project has moved and is read-only. For the latest updates, please go here.

Authenticating user credentials before download

Jun 1, 2015 at 3:14 PM
Edited Jun 1, 2015 at 3:15 PM
Hi there,

I can pass uri string to download executable.
Is there a way to send httpwebrequest with cookies to authenticate user credentials before download ?
Does download happen over secure channel eg: SSL ? (I hope it depends on download url.)

Regards,
Pooja
Jun 16, 2015 at 6:59 AM
Edited Jun 16, 2015 at 6:59 AM
Currently It downloads the file using DownloadFileAsync. You can do as stated in following article to get the cookie before downloading file.

http://blogs.msdn.com/b/dgorti/archive/2005/08/16/452347.aspx