Click here to Skip to main content
15,892,517 members
Articles / Web Development / ASP.NET

Setting timeout property for System.Net.WebClient Class

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
20 Jun 2011CPOL 24.8K  
You can also use the System.Net.HttpWebRequest implementation of System.Net.WebRequest. It comes packaged with a timeout property - http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx.It would be a simple call to the object:...using System.Net;...HttpWebRequest...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
30 Mar 2010Gladson WiIlliam 1 alternative  
Introduction...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Database Developer APN
New Zealand New Zealand
This member doesn't quite have enough reputation to be able to display their biography and homepage.

Comments and Discussions