TotalBytesToReceive Property
Collapse the table of content
Expand the table of content

DownloadProgressChangedEventArgs.TotalBytesToReceive Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the total number of bytes in a WebClient data download operation.

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

public long TotalBytesToReceive { get; }

Property Value

Type: System.Int64
An Int64 value that indicates the number of bytes that will be received.

To determine the number of bytes already received, use the BytesReceived property.

To determine what percentage of the transfer has occurred, use the ProgressPercentage property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft