Tag: vbulletin

使用C#模拟对VBulletin的登录操作

我试着编写一个可以登录并在VBulletin论坛中创建新线程的程序(C#)。 我尝试了两种方式: 1)使用HttpWebRequest :登录完成。 但是,创建新线程失败。 这是发布代码: public static void CreateNewThread(string url,string fId, string title, string message, string tag) { url += “newthread.php?do=postthread”; HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url); //string result = “”; string values = “subject=” + title + “&message=” + message + “&tag=” + tag + “&do=postthread” + “&f=” + fId + “&s=” + “” ; […]