N
Nicholas Paldino [.NET/C# MVP]
Ram,
I am not sure which timeout you are referring to? Do you mean the call,
or the download timeout? You don't have to worry about the call timing out
(unless it is a remoted call, possibly).
As for a download timeout, I don't think that the WebClient will give
you the flexibility you need in setting the timeout. You might want to use
the HttpWebRequest and HttpWebResponse classes, as they will allow you to
set timeouts for the download (or eliminate them, I think).
Hope this helps.
I am not sure which timeout you are referring to? Do you mean the call,
or the download timeout? You don't have to worry about the call timing out
(unless it is a remoted call, possibly).
As for a download timeout, I don't think that the WebClient will give
you the flexibility you need in setting the timeout. You might want to use
the HttpWebRequest and HttpWebResponse classes, as they will allow you to
set timeouts for the download (or eliminate them, I think).
Hope this helps.