Initializes a new instance of the FtpTransferProgressEventArgs class with the specified state and number of bytes transferred during the current transfer.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Sub New ( _
	state As FtpTransferState, _
	bytesTransferred As Long _
)
C#
public FtpTransferProgressEventArgs(
	FtpTransferState state,
	long bytesTransferred
)

Parameters

state
Type: Rebex.Net..::..FtpTransferState
Current state.
bytesTransferred
Type: System..::..Int64
Number of bytes transferred. Ignored if state is FtpTransferState.None.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also