Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client.InitiateFileTransfer(recipient, "path_to_file_to_send", "description of the file", FileTransferCallback);
- static void FileTransferCallback(bool accepted, FileTransfer transfer)
- {
- Console.WriteLine(transfer.To + " has " + (accepted == true ? "accepted " : "rejected ") + "the transfer of " + transfer.Name + ".");
- }
Add Comment
Please, Sign In to add comment