Thresher 1.2 Class Documentation

DccFileSession Members

DccFileSession overview

Public Static (Shared) Methods

Get Ask a remote user to send a file. The remote user may or may not respond and there is no fixed time within which he must respond. A response will come in the form of a DCC Send request.
Receive Another user has offered to send a file. This method should be called to accept the offer and save the file to the give location. The parameters needed to call this method are provided by the OnDccFileTransferRequest() event.
Send Attempt to send a file to a remote user. Start listening on the given port and address. If the remote user does not accept the offer within the timeout period the the session will be closed.

Public Instance Properties

ClientInfo The information about the remote user.
File The DccFileInfo object associated with this DccFileSession.
ID A unique identifier for this session.
User The DccUserInfo object associated with this DccFileSession.

Public Instance Methods

Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
Stop Stop the file transfer.
ToString Summary information about this session.

Public Instance Events

OnFileTransferCompleted The file transfer was successful.
OnFileTransferInterrupted The file transfer was interrupted and did not complete.
OnFileTransferProgress How much of the file has been sent or received so far.
OnFileTransferStarted The file transfer connection is open and data will be sent or received.
OnFileTransferTimeout The remote user did not accept the file within the timeout period.

See Also

DccFileSession Class | Sharkbite.Irc Namespace