Intersoft.Client.Framework Namespace > ResourceDownloader Class : Downloading Event |
Public Event Downloading As EventHandler(Of DownloadProgressEventArgs)
Dim instance As ResourceDownloader Dim handler As EventHandler(Of DownloadProgressEventArgs) AddHandler instance.Downloading, handler
public event EventHandler<DownloadProgressEventArgs> Downloading
public: event EventHandler<DownloadProgressEventArgs^>^ Downloading
The event handler receives an argument of type DownloadProgressEventArgs containing data related to this event. The following DownloadProgressEventArgs properties provide information specific to this event.
Property | Description |
---|---|
BytesReceived | Gets the number of bytes received. |
PercentCompleted | Gets the percentage of the completed data download operation. |
Resource (Inherited from Intersoft.Client.Framework.DownloadEventArgs) | Gets an object instance of the resource being downloaded. |
TotalBytes | Gets the total number of bytes in a WebClient data download operation. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2