Use
using System.Net;
...
WebClient wc = new WebClient();
wc.DownloadFile(httpHostName, localFileName);
Under the hood this is using the same mechanism to download the files as Internet Explorer (WinInet/WinHttp).
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Use
using System.Net;
...
WebClient wc = new WebClient();
wc.DownloadFile(httpHostName, localFileName);
Under the hood this is using the same mechanism to download the files as Internet Explorer (WinInet/WinHttp).