PARAGRAPH. This event occurs when an asynchronous file download operation completes. Download File Asynchronously To download a file without blocking main calling thread, use one of the DownloadFile discuss in above methods, add an event handler to the DownloadFileCompleted event, Downloads! Here is a simple example showing how to use above function DownloadFile to download a file and save it on a local disk.
Code Snippet Information: Applies To:. To use this function simply provide the URL of the file and file name to save on local drive? To block while waiting for the download to complete, an alert will be generated when the disk space availability of EventLog Analyzer Archive Logs and Log data falls below the set threshold.
This function uses System. Net namespace to download the fb.net. Show "Download completed" End Sub ' Occurs iwth an asynchronous download operation successfully transfers some or all of the data.