Class StreamTransferProgressArgs
public class StreamTransferProgressArgs : EventArgs
- Inheritance
-
StreamTransferProgressArgs
- Inherited Members
Constructors
StreamTransferProgressArgs(long, long, long)
The constructor takes the number of currently transferred bytes and the total number of bytes to be transferred
public StreamTransferProgressArgs(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
IncrementTransferred
Gets the number of bytes transferred since last event
public long IncrementTransferred { get; }
Property Value
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()