468,285 Members | 1,594 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,285 developers. It's quick & easy.

what's the difference

hey all,

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

thanks,
rodchar
Dec 13 '05 #1
3 1208
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
WebClient appears to use HttpWebRequest (and Response) internally.

-j

Dec 13 '05 #3
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.

Similar topics

13 posts views Thread by Jason Huang | last post: by
12 posts views Thread by Nathan Sokalski | last post: by
3 posts views Thread by Anoj Kumar | last post: by
49 posts views Thread by Zach | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.