Error during the dowloading of the bundle installer

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(""), @"C:\OWTest.exe");

    private static void DowloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)

    private static void DownloadCompleted(object sender, AsyncCompletedEventArgs e)

The result file size is 1304 instead of 1337 kb.

Impact for my app: [lhigh]

Following our Slack conversation, iā€™m adding here that using DownloadFile gave the same results as DownloadFileAsync.

Try to look at this implementation


@tom.wolf FYI @VrezhAleksDev confirmed that Gzip worked. Thanks
CLosing the ticket.