Class UploadProgressInfo
Progress snapshot for a chunked upload session.
Inherited Members
Namespace: CoreUpload.Models
Assembly: CoreUpload.dll
Syntax
public class UploadProgressInfo
Properties
ChunksCompleted
Gets or sets the number of chunks already stored.
Declaration
public int ChunksCompleted { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ErrorMessage
Gets or sets the error message when the upload session fails.
Declaration
public string? ErrorMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileName
Gets or sets the original file name for the upload session.
Declaration
public string? FileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PercentComplete
Gets the upload completion percentage rounded down to an integer.
Declaration
public int PercentComplete { get; }
Property Value
| Type | Description |
|---|---|
| int |
Status
Gets or sets the current upload state, such as pending, uploading, assembling, or completed.
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TotalBytes
Gets or sets the total file size in bytes.
Declaration
public long TotalBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
TotalChunks
Gets or sets the expected total number of chunks.
Declaration
public int TotalChunks { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UploadId
Gets or sets the client-generated upload session identifier.
Declaration
public string UploadId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UploadedBytes
Gets or sets the number of bytes uploaded so far.
Declaration
public long UploadedBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| long |