C#에서 다운로드 파일~^^ sync~~
2011-07-01 23:06:59

using System.Net;

WebClient webClient = new WebClient();

webClient.DownloadFile("http://mysite.com/myfile.txt", @"c:\myfile.txt");

▼ more
c#에서 다운로드 파일~^^
2011-07-01 23:02:50

private void btnDownload_Click(object sender, EventArgs e)

{

WebClient webClient = new WebClient();

webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(Completed);

webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(ProgressChanged);

webClient.DownloadFileAsync(new Uri("http://mysite.com/myfile.txt"), @"c:\myfile.txt");

}

private void ProgressChanged(object sender, DownloadProgressChangedEventArgs e)

{

progressBar.Value = e.ProgressPercentage;

}

private void Completed(object sender, AsyncCompletedEventArgs e)

{

MessageBox.Show("Download completed!");

}

▼ more
이런 저런 일이 있었는데..
2011-06-30 21:30:57

사이트가 죽어있으니 ㅠㅠ 할수가 없군;

▼ more
visual studio 2010에서 setup project로 실치를 할때~!
2011-06-28 21:01:58

targetPlatform을 맞추는게 중요하다~!!

▼ more