BackgroundTransferRequest.BytesReceived Property

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

Gets the number of bytes that have been downloaded for the request.

Namespace:  Microsoft.Phone.BackgroundTransfer
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public ReadOnly Property BytesReceived As Long
public long BytesReceived { get; }

Property Value

Type: System..::.Int64
The number of bytes that have been downloaded for the request.

Remarks

This value represents the number of bytes of the transferred payload and does not include the size of the HTTP headers.

If the associated transfer request is an upload using the POST method, this value will indicate the number of bytes returned in the response from the target server if the server returns a response.

This value is incremented as the transfer progresses.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

BackgroundTransferRequest Class

Microsoft.Phone.BackgroundTransfer Namespace