Table of Contents

Class DownloadDirectoryProgressArgs

Namespace
Amazon.S3.Transfer
Assembly
AWSSDK.S3.dll

Encapsulates the information needed to provide transfer progress to subscribers of the DownloadDirectory event.

public class DownloadDirectoryProgressArgs : EventArgs
Inheritance
DownloadDirectoryProgressArgs
Inherited Members

Constructors

DownloadDirectoryProgressArgs(int, int, long, long, string, long, long)

Constructs a new instance of DownloadDirectoryProgressArgs.

public DownloadDirectoryProgressArgs(int numberOfFilesDownloaded, int totalNumberOfFiles, long transferredBytes, long totalBytes, string currentFile, long transferredBytesForCurrentFile, long totalNumberOfBytesForCurrentFile)

Parameters

numberOfFilesDownloaded int

The number of files downloaded.

totalNumberOfFiles int

The total number of files to download.

transferredBytes long

The bytes transferred across all files being downloaded.

totalBytes long

The total number of bytes across all files being downloaded.

currentFile string

The current file being downloaded.

transferredBytesForCurrentFile long

The number of transferred bytes for the current file.

totalNumberOfBytesForCurrentFile long

The size of the current file in bytes.

DownloadDirectoryProgressArgs(int, int, string, long, long)

Constructs a new instance of DownloadDirectoryProgressArgs.

public DownloadDirectoryProgressArgs(int numberOfFilesDownloaded, int totalNumberOfFiles, string currentFile, long transferredBytesForCurrentFile, long totalNumberOfBytesForCurrentFile)

Parameters

numberOfFilesDownloaded int

The number of files downloaded.

totalNumberOfFiles int

The total number of files to download.

currentFile string

The current file being downloaded

transferredBytesForCurrentFile long

The number of transferred bytes for the current file.

totalNumberOfBytesForCurrentFile long

The size of the current file in bytes.

Properties

CurrentFile

Gets or sets the current file being downloaded.

public string CurrentFile { get; set; }

Property Value

string

The current file being downloaded.

NumberOfFilesDownloaded

Gets or sets the number of files downloaded so far.

public int NumberOfFilesDownloaded { get; set; }

Property Value

int

The number of files downloaded.

TotalBytes

Gets or sets the total number of bytes across all files being downloaded.

public long TotalBytes { get; set; }

Property Value

long

The total number of bytes across all files being downloaded.

TotalNumberOfBytesForCurrentFile

Gets or sets the total number of bytes for the current file.

public long TotalNumberOfBytesForCurrentFile { get; set; }

Property Value

long

The total number of bytes for the current file.

TotalNumberOfFiles

Gets or sets the total number of files.

public int TotalNumberOfFiles { get; set; }

Property Value

int

The total number of files.

TransferredBytes

Gets or sets the bytes transferred across all files being downloaded.

public long TransferredBytes { get; set; }

Property Value

long

The bytes transferred across all files being downloaded.

TransferredBytesForCurrentFile

Gets or sets the transferred bytes for the current file.

public long TransferredBytesForCurrentFile { get; set; }

Property Value

long

The transferred bytes for the current file.

Methods

ToString()

The string representation of this instance of DownloadDirectoryProgressArgs.

public override string ToString()

Returns

string

The string representation of this instance of DownloadDirectoryProgressArgs.