Class DownloadProgressEventArgs
Fired when download makes progress. Last call has |done| == true.
public sealed class DownloadProgressEventArgs : EventArgs
- Inheritance
-
DownloadProgressEventArgs
- Inherited Members
Properties
FilePath
If download is "completed", provides the path of the downloaded file. Depending on the platform, it is not guaranteed to be set, nor the file is guaranteed to exist.
[JsonPropertyName("filePath")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? FilePath { get; set; }
Property Value
Guid
Global unique identifier of the download.
[JsonPropertyName("guid")]
public string Guid { get; set; }
Property Value
ReceivedBytes
Total bytes received.
[JsonPropertyName("receivedBytes")]
public double ReceivedBytes { get; set; }
Property Value
State
Download status.
[JsonPropertyName("state")]
public string State { get; set; }
Property Value
TotalBytes
Total expected bytes to download.
[JsonPropertyName("totalBytes")]
public double TotalBytes { get; set; }