private void AsyncLoadFile(string sourceFilePath, string destinationPath)
{
try
{
//ダウンロード基のURL
Uri u = new Uri(sourceFilePath);
WebClient downloadClient = new System.Net.WebClient();
downloadClient.DownloadFileCompleted +=
new System.ComponentModel.AsyncCompletedEventHandler(
downloadClient_DownloadFileCompleted);
//非同期ダウンロードを開始する
downloadClient.DownloadFileAsync(u, destinationPath);
}
catch (Exception)
{
}
}