共用方式為


CoreWebView2DownloadOperation.BytesReceived Property

Definition

The number of bytes that have been written to the download file.

public long BytesReceived { get; }
member this.BytesReceived : int64
Public ReadOnly Property BytesReceived As Long

Property Value

Examples

download.BytesReceivedChanged += delegate (object sender, Object e)
{
    // Here developer can update download dialog to show progress of a
    // download using `download.BytesReceived` and `download.TotalBytesToReceive`
};

Applies to