When we try to download the bundle installer from the partner ID link we get incomplete files.
static void Main(string[] args)
{
WebClient client = new WebClient();
client.DownloadFileCompleted += new AsyncCompletedEventHandler(DownloadCompleted);
client.DownloadProgressChanged += new DownloadProgressChangedEventHandler(DowloadProgressChanged);
client.DownloadFile(new Uri("http://download.overwolf.com/install/Download?PartnerId=3993"), @"C:\OWTest.exe");
}
private static void DowloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
{
Console.WriteLine(e.ProgressPercentage);
}
private static void DownloadCompleted(object sender, AsyncCompletedEventArgs e)
{
Console.WriteLine("HEY");
}
The result file size is 1304 instead of 1337 kb.
Impact for my app: [lhigh]