Class FileTransferEventArgs
Cancelable event args class used by events related to file upload and download.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class FileTransferEventArgs : CancelEventArgs
Constructors
FileTransferEventArgs()
Default constructor.
Declaration
public FileTransferEventArgs()
FileTransferEventArgs(long, long)
Creates instance with bytes downloaded versus total bytes to download.
Declaration
public FileTransferEventArgs(long bytesTransferred, long totalBytes)
Parameters
Type | Name | Description |
---|---|---|
long | bytesTransferred | The number of bytes that have been downloaded. |
long | totalBytes | The total number of bytes that will be downloaded. |
Properties
BytesTransferred
Gets the number of bytes that have been transferred.
Declaration
public long BytesTransferred { get; set; }
Property Value
Type | Description |
---|---|
long |
TotalBytes
Gets the total number of bytes.
Declaration
public long TotalBytes { get; set; }
Property Value
Type | Description |
---|---|
long |