开发者

Posting data to webpages while keeping the sessions and cookie in c#

开发者 https://www.devze.com 2022-12-27 11:48 出处:网络
I\'m looking for a easy way to post data to webpages while keeping the cookies. for example you login to somewhere, and late开发者_如何学Gor you do some new actions.

I'm looking for a easy way to post data to webpages while keeping the cookies. for example you login to somewhere, and late开发者_如何学Gor you do some new actions.

What's the easiest way to do that?


There are number of ways how you can do this:

  1. WebClient
  2. HttpWebRequest
  3. Watin
  4. WebBrowser/ AxWebBrowser

The way you choose depends on your specific requirements. I prefer to use HttpWebRequest because it gives flexibility and speed.

0

精彩评论

暂无评论...
验证码 换一张
取 消