By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,556 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,556 IT Pros & Developers. It's quick & easy.

Webclient Timeout?

P: n/a
I am using the webclient (system.net) to download a file. I haven't found a
"timeout" interval setting so I'm guessing there must be some other way to
limit it. Is there anyway to limit the amount of time spent attempting to
get the file? Any examples on the internet someplace?
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Patrick Dugan" <pa******@netins.net> wrote in message
news:e7**************@TK2MSFTNGP12.phx.gbl...
I am using the webclient (system.net) to download a file. I haven't found a "timeout" interval setting so I'm guessing there must be some other way to
limit it. Is there anyway to limit the amount of time spent attempting to
get the file? Any examples on the internet someplace?


System.Net.HttpWebRequest has a Timeout property.
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.