Click here to Skip to main content
12,406,342 members (66,317 online)
Click here to Skip to main content

Tagged as

Stats

14.2K views
Posted

Setting timeout property for System.Net.WebClient Class

, 20 Jun 2011 CPOL
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...

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available No 20-Jun-11 7:05 Available Smitha Nishant
2 No 19-Jun-11 23:01 Composing nerdpro
1 No 19-Jun-11 17:35 Composing nerdpro

License

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

Share

About the Author

nerdpro
Database Developer APN
New Zealand New Zealand
I am a database administrator for APN Holdings Ltd (NZ)

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160730.1 | Last Updated 20 Jun 2011
Article Copyright 2011 by nerdpro
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid