I am writing a program in C #. The essence of the program is to download certain components, such as for example: .Net Framework.
I upload files for download on Google Drive. Downloading goes well, but when downloading, progressBar suffers as when sending a request, the handler processes only a zero value and 100
void WebClient_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e) { DownloadProgressBar.Maximum = (int)e.TotalBytesToReceive / 100; DownloadProgressBar.Value = (int)e.BytesReceived / 100; } I understand the problem in Google Drive. I wanted to ask who can tell a good file exchanger that gives direct links to the download, or can someone tell me how to download the right components from the same microsoft to the direct one.