System.Net.WebRequest timeout?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • buu

    System.Net.WebRequest timeout?

    Sometimes, I try to download an image from a website using webRequest, but I
    receive an "The operation has timed out" error (status 14)

    Source looks like:

    ImgWebReq=Syste m.Net.WebReques t.Create(string URIvar)
    ImgWebRes=ImgWe bReq.GetRespons e

    in my example, stringURIvar is:


    note that specified Image exists and it's possible to see it through web
    browser (without delay).
    also, download works for other images.
    AllowAutoRedire ct property is set to true.


    why is this happening?
    it is important for me to correct this error if possible

    tnx


Working...