Class TransferProgressArgs
Arguments containing event details for an in-flight transfer.
public class TransferProgressArgs : EventArgs
- Inheritance
-
TransferProgressArgs
- Derived
- Inherited Members
Constructors
TransferProgressArgs(long, long, long)
The constructor takes the number of currently transferred bytes and the total number of bytes to be transferred
public TransferProgressArgs(long incrementTransferred, long transferred, long total)
Parameters
incrementTransferred
longThe number of bytes transferred since last event
transferred
longThe number of bytes transferred
total
longThe total number of bytes to be transferred
Properties
PercentDone
Gets the percentage of transfer completed
public int PercentDone { get; }
Property Value
TotalBytes
Gets the total number of bytes to be transferred
public long TotalBytes { get; }
Property Value
TransferredBytes
Gets the number of bytes transferred
public long TransferredBytes { get; }
Property Value
Methods
ToString()
Returns a string representation of this object
public override string ToString()