// Attaches FileTransfer event listeners to the methods private void RegisterFileTransfer() { _fileTransfer = GetFileTransferInstance(); _fileTransfer.ReceiveFileFinished += ReceiveFileFinishedHandler; _fileTransfer.ReceiveFileStarted += ReceiveFileStartedHandler; _fileTransfer.ReceiveFileChunk += ReceiveFileChunkHandler; _fileTransfer.TransmitFileFinished += TransmitFileFinishedHandler; _fileTransfer.TransmitFileStarted += TransmitFileStartedHandler; _fileTransfer.TransmitFileChunk += TransmitFileChunkHandler; }