I am trying to give custom timeout to WebClient()
object. I have tried lots of solutions including this post and this post and lots of others. The conclusion I came up with is setting a custom timeout is not working for WebClient()
object when you use DownloadFileAsync()
or DownloadStringAsync()
. (There are other people saying this too in these posts)
Are there any other solutions that I couldn't see or find on the internet?