Guest User

Untitled

a guest
Sep 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. public async Task UploadFile(string id)
  2. {
  3.  
  4. Progress<double> progress = new Progress<double>(async x =>
  5. {
  6. await Clients.Client(id).SendAsync("FTPUploadProgress", x);
  7. }
  8. );
  9. }
Add Comment
Please, Sign In to add comment