Example #1
0
 public FileReceiver(string folder, TcpConnection connection,
     Action<string> progressStart, Action<double, double> progressUpdate)
 {
     RootFolder = folder;
     Connection = connection;
     ProgressStart = progressStart;
     ProgressUpdate = progressUpdate;
 }
Example #2
0
 public FileSender(TcpConnection tcpConnection)
 {
     Connection = tcpConnection;
 }