Simulate login action to VBulletin using C#

后端 未结 1 1689
走了就别回头了
走了就别回头了 2021-01-01 04:03

I trying to write a program (C#) that can login and create new thread into VBulletin forums. I tried 2 way:

1) Use HttpWebRequest : Login is done. H

相关标签:
1条回答
  • 2021-01-01 04:22

    Try simulating post data instead of filling out the form:

    string postData = "username=Kurresmack&password=pw&action=login&url=/";
    webBrowser1.Navigate("www.sweclockers.com/forum/member.php", "", System.Text.Encoding.UTF8.GetBytes(postData), "Content-Type: application/x-www-form-urlencoded\r\n");
    
    0 讨论(0)
提交回复
热议问题