Click or drag to resize
MimeKit

ITransferProgressReport Method (Int64, Int64)

Report the progress of the transfer operation.

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
void Report(
	long bytesTransferred,
	long totalSize
)

Parameters

bytesTransferred
Type: SystemInt64
The number of bytes transferred.
totalSize
Type: SystemInt64
The total size, in bytes, of the message, part, or stream being transferred.
Remarks

Reports the progress of the transfer operation.

This method is only used if the operation knows the size of the message, part, or stream being transferred without doing extra work to calculate it.

See Also