By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,016 Members | 2,265 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,016 IT Pros & Developers. It's quick & easy.

what's the difference

P: n/a
hey all,

just wondering what the difference is between WebClient class and
HttpWebRequest class?

thanks,
rodchar
Dec 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
specifically when it comes to downloading a file.

"rodchar" wrote:
hey all,

just wondering what the difference is between WebClient class and
HttpWebRequest class?

thanks,
rodchar

Dec 13 '05 #2

P: n/a
WebClient appears to use HttpWebRequest (and Response) internally.

-j

Dec 13 '05 #3

P: n/a
Right, I think that are just encapsulations of lower-level systems.

As indicated, WebClient uses HttpWebRequest which uses Sockets.

Each system abstracts the lower system and makes it easier to interact with,
but you also loose some control.

"Josh Schultz" <jo****@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
WebClient appears to use HttpWebRequest (and Response) internally.

-j

Dec 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.