public class QuickIOTransferFileCopyProgressEventArgs : QuickIOTransferJobWriteWithSourceEventArgs
Live progress information during file transfer.
private Nullable<Double> _bytesPerSecond
private Nullable<TimeSpan> _duration
private Nullable<TimeSpan> _estimatedDuration
private Nullable<DateTime> _estimatedFinishTimestamp
private Nullable<Double> _percentage
QuickIOTransferFileCopyProgressEventArgs(IQuickIOTransferJob job, String sourcePath, String targetPath, Int64 totalBytes, UInt64 bytesTransfered, DateTime transferStarted)
Creates new instance of QuickIOTransferFileCopyProgressEventArgs
public void QuickIOTransferFileCopyProgressEventArgs(IQuickIOTransferJob job, String sourcePath, String targetPath, Int64 totalBytes, UInt64 bytesTransfered, DateTime transferStarted)
Parameters
job
IQuickIOTransferJobAffected job
sourcePath
StringSource file path
targetPath
StringTarget file path
totalBytes
Int64Total bytes to transfer
bytesTransfered
UInt64Total bytes transfered
transferStarted
DateTimeBytesPerSecond
Live bytes per second
public Double BytesPerSecond { get; }
BytesTransfered
Total bytes of file transfered
public UInt64 BytesTransfered { get; set; }
Duration
Live transfer duration
public TimeSpan Duration { get; }
EstimatedDuration
Estimated Duration
public TimeSpan EstimatedDuration { get; }
EstimatedFinishTimestamp
Estimated Timestamp when transfer is finished
public DateTime EstimatedFinishTimestamp { get; }
Percentage
Total percentage
public Double Percentage { get; }
ProgressTimestamp
Time the progress event was fired
public DateTime ProgressTimestamp { get; set; }
TotalBytes
Total bytes of file
public UInt64 TotalBytes { get; set; }
TransferStartedTimestamp
Time transfer of file started
public DateTime TransferStartedTimestamp { get; set; }