overwrite existing file?

Oct 15, 2014 at 2:37 PM
Hi, Thanks for your project.
Is there any way to update existing exe file?
I try to change some code like this:
  _webClient = new WebClient();
            var uri = new Uri(_downloadURL);
            _tempPath = string.Format(@"{0}{1}", AppDomain.CurrentDomain.BaseDirectory, GetFileName(_downloadURL));
            _webClient.DownloadProgressChanged += OnDownloadProgressChanged;
            _webClient.DownloadFileCompleted += OnDownloadComplete;
            _webClient.DownloadFileAsync(uri, _tempPath);
but not working.
Please help me how to resolve this problem.
Thanks in advanced.
sorry for my bad english
Coordinator
Oct 15, 2014 at 2:48 PM
Oct 18, 2014 at 7:41 AM
Thanks