pramodirt Posted December 30, 2009 Posted December 30, 2009 Hi In my program I used "webclient downloadfile" for downloading pdf files from a URL to my local machine. Issue is while the downloading of files is in the process if I close the browser the downloading process is not stopping, can anyone please tell me how to stop downloading the files if I close the browser in middle of downloading process. I used WebClient myclient = new WebClient(); myclient.DownloadFile(src1, dest1); at the end I used myclient.dispose() I also tried using (WebClient myclient = new WebClient()) Please suggest me how to solve this issue. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.