# BytesRead
{: .no_toc }

Returns the number of bytes that have been read so far, as a **Long**. Read-only.

Syntax: *object*.**BytesRead**

*object*
: *required* An object expression that evaluates to an **AsyncProperty** object.

The value accumulates across successive **AsyncReadProgress** notifications and reaches its final total by the time **AsyncReadComplete** fires. When [**BytesMax**](/tB/Packages/VBRUN/AsyncProperty/BytesMax.md) is non-zero, the ratio `BytesRead / BytesMax` gives the fraction of the read that has completed.

### Example

This example logs the current download progress using **BytesRead** and **BytesMax**.

```tb check_build
Private Sub UserControl_AsyncReadProgress(AsyncProp As AsyncProperty)
    If AsyncProp.PropertyName = "Picture" Then
        Debug.Print AsyncProp.BytesRead & " / " & AsyncProp.BytesMax
    End If
End Sub
```

### See Also

- [BytesMax](/tB/Packages/VBRUN/AsyncProperty/BytesMax.md) property
- [Status](/tB/Packages/VBRUN/AsyncProperty/Status.md) property
- [StatusCode](/tB/Packages/VBRUN/AsyncProperty/StatusCode.md) property
