BackgroundTransferRequest.BytesReceived Property

May 11, 2014

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

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

public long BytesReceived { get; }

Property Value

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

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft