Thresher 1.2 Class Documentation

DccFileSession.Get Method 

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.

[Visual Basic]
Public Shared Sub Get( _
   ByVal connection As Connection, _
   ByVal nick As String, _
   ByVal fileName As String, _
   ByVal turbo As Boolean _
)
[C#]
public static void Get(
   Connection connection,
   string nick,
   string fileName,
   bool turbo
);

Parameters

connection
The connection the remotes user is on.
nick
Who to send the request to.
fileName
The name of the file to have sent. This should not contain any spaces.
turbo
True to use send-ahead mode for transfers.

See Also

DccFileSession Class | Sharkbite.Irc Namespace