Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there any more convinient way to retrive HTML stream than WebClient.

 

Since I'm on slow connection (56K modem) I often timeout.

 

Is there any way to retry retriving data ? Like try/catch block ??

Or to extend timeout time??

 

1 more thing,

With WebClient - do I get only HTML in Response stream or Images and other data too??

 

Thanks

Igor

  • *Experts*
Posted

If you use the DownloadData method on a web address, it will

download the HTML source into a byte array. It won't (at least, it

shouldn't) send out anything but the HTML.

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...