Ejemplo n.º 1
0
 public void SendFile(Server.SendFile Buffer, Users To)
 {
     try
     {
         Console.WriteLine($"Sending {Buffer.FileName} from {Buffer.From} to {To.Username}");
         To.Send("requesttoresivefile|" + Buffer.FileName + "|" + Buffer.From + "|" + Buffer.ID + "|" + Buffer.FileSize + "|" + Buffer.sk);
     }
     catch { }
 }