HttpWebRequest and WebRequest

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What is the difference between the two and why would you use one over the
other?

Thanks.
 
WebRequest is an abstract class i.e. a class from which you have to inherit
and you have to implement some of its method.

You'll use httpWebRequest. You can also check System.Net.WebClient that is
higher level.

Patrice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top