I have a webclient instance that uploads a file. I wanted to upload it using WebClient.UploadFile but that locks the thread up until it's done uploading it and has no way of me showing the progress of it. Any ideas how to turn this code into async code?
Question
sathenzar
I have a webclient instance that uploads a file. I wanted to upload it using WebClient.UploadFile but that locks the thread up until it's done uploading it and has no way of me showing the progress of it. Any ideas how to turn this code into async code?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts