Thresher 1.2 Class Documentation

FileTransferProgressEventHandler Delegate

Called for each successful data block transfer. This allows the developer to show a transfer progress display of some kind.

[Visual Basic]
Public Delegate Sub FileTransferProgressEventHandler( _
   ByVal session As DccFileSession, _
   ByVal bytesSent As Integer _
)
[C#]
public delegate void FileTransferProgressEventHandler(
   DccFileSession session,
   int bytesSent
);

Parameters

session
The session in which data was transfered.
bytesSent
The number of bytes sent in this block. The DccFileSession contains the cumulative number of bytes sent/received and the total number the will be processed.

Requirements

Namespace: Sharkbite.Irc

Assembly: Sharkbite.Thresher (in Sharkbite.Thresher.dll)

See Also

Sharkbite.Irc Namespace