code_junkie

HttpWebRequest, known problems with canceling requests?

Nov 12th, 2011
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. WebRequest request = WebRequest.Create("http://google.com");
  2.  
  3. using (WebResponse response = request.GetResponse())
  4. {
  5. //do my job
  6. }
Add Comment
Please, Sign In to add comment