How do I make a httprequest call from a window form?

  • Thread starter Thread starter Kueishiong Tu
  • Start date Start date
K

Kueishiong Tu

I have a window form application but I have to get data
from various web site, How do I make Http request
(preferrably via post method) from a window form to get
the data from those web sites?
What namespace and dll do I have to include?
A walkthrough and coding example will be helpful.
 
Hi,

Try the System.Net.HttpWebRequest class. I think you can find several
samples in the MSDN Library. Just do a search for
"System.Net.HttpWebRequest".
 
Back
Top