Gets the progress, in percents, of the upload process.
Namespace:
EasyAlgo.EAUploadAssembly: EasyAlgo.EAUpload (in EasyAlgo.EAUpload.dll)
Version: 1.3.2.0
Syntax
| C# |
|---|
public int PercentsDone { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property PercentsDone As Integer |
Field Value
Type: System..::.Int32An integer value that represents progress of an upload in percents. Default value is 0
Remarks
A number of percents is calculated by following algorithm:
Calculated value is rounded and cast to Int32 type.
PercentsDone = (UploadedBytes / TotalBytes) * 100
Examples
You can find an example in the description of UploadStatus class.
