このコードでファイルをダウンロードできますが、ファイル名を知っている必要があります。ディレクトリ(ディレクトリリンク:https ://www.dropbox.com/sh/koao8dlfpcao8sk/XzDZMfejiF )にあるファイルをダウンロードして実行する方法はありますか?
private void Update_Load(object sender, EventArgs e)
{
WebClient webClient = new WebClient();
webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(Completed);
webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(ProgressChanged);
webClient.DownloadFileAsync(new Uri("https://www.dropbox.com/s/6o5kvzr7s0c6mne/Test.txt"), @"C:\Users\Admin\Downloads\Test.txt");
}