CancelDownload method

Topics: Updater Application Block
Sep 6, 2005 at 10:18 AM
originally posted by: shinmen


I'm trying to create a form which shows the progress of the UAB download. It currently uses the BeginDownload method to start the job asynchronously.

This works fine and I can press the Cancel button which calls the CancelDownload method. This seems to work fine - I get control back and can carry on. However, when you then reopen the form and call BeginDownload again it reports that there are files to download but then hangs there. If I then restart the application, it works fine again.

What I was expecting was that it would raise the PendingUpdatesDetected event and all me to continue but it seems to try (and fail) to start again. Is this just the way it is or am I doing something wrong?