cookie验证,读文件,写header吧,我猜的 

解决方案 »

  1.   

    用ie登录后,用webbrowser控件实现自动登录。我帮你回复了你的另一个帖子。
      

  2.   

    CookieContainer myCookieContainer = new CookieContainer();  
    string cookieStr = webBrowser1.Document.Cookie;  
    string[] cookstr = cookieStr.Split( '; ');  
    foreach (string str in cookstr)  
    {  }  
    HttpWebRequest hreq=(HttpWebRequest)HttpWebRequest.Create("");  
    hreq.Method= "POST ";  
    hreq.ContentType= "application/x-www-form-urlencoded ";  
    hreq.CookieContainer= myCookieContainer;  http://topic.csdn.net/u/20091208/19/7f37389c-e588-4050-ab4a-71db80152af9.html