TransferDriverExecuteAsync Method

Executes the transfer as defined by the public properties.

Definition

Namespace: Quine.FileTransfer
Assembly: Quine.FileTransfer (in Quine.FileTransfer.dll) Version: 1.0.0+6efd94d5454131cfac18f827c2a4172cb83f1e24
C#
public Task ExecuteAsync(
	CancellationToken ct
)

Parameters

ct  CancellationToken
Cancellation token that may be used to cancel the transfer.

Return Value

Task
Task.

Exceptions

ArgumentException Thrown in the following cases
  • Producer is not provided, or at least one consumer is not provided.
  • Hash verification is requested, but the buffer pool capacity is less than the number of consumers plus one.
  • Hash verification is requested, but HasherFactory is not provided.

See Also