<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.2.0" />

Microsoft.Azure.Storage.Core.ByteCountingStream

This class provides a wrapper that will update the Ingress / Egress bytes of a given request result as the stream is used. Note this is not supported for Windows RT / .Net 4.5 as some Async methods may not be able to be intercepted.
public ByteCountingStream(Stream wrappedStream, RequestResult requestObject, bool reverseCapture = false)

Initializes a new instance of the ByteCountingStream class with an expandable capacity initialized to zero.