WebClient.DownloadProgressChanged Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs when an asynchronous download operation successfully transfers some or all of the data.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

Syntax

'Declaration
Public Event DownloadProgressChanged As DownloadProgressChangedEventHandler
public event DownloadProgressChangedEventHandler DownloadProgressChanged

Remarks

This event is raised each time an asynchronous download makes progress. This event is raised when downloads are started using any of the following methods.

Method

Description

DownloadStringAsync

Downloads a String from the resource, without blocking the calling thread.

Classes that inherit from this class can override this method to perform additional tasks when the DownloadProgressChanged event occurs.

Raising an event invokes the event handler through a delegate.

Handle this event to check the progress of a download operation.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.