摘要:
Asp.net 版本HttpWebRequest采集时添加:httpWebRequest.CookieContainer = new CookieContainer();就能远程挂载上cookie,那么怎样去读取挂载上的cookie呢?下面方法为大家解除烦恼。遍历方法:public static List<Cookie> GetAllCookies(CookieContainer cc){ List<Cookie> lstCookies = new List<Cookie>(); Hashtable table = (Hashtable)cc.GetType 阅读全文
posted @ 2012-10-09 11:23
磊哥|www.javacn.site
阅读(2685)
评论(4)
推荐(1)

浙公网安备 33010602011771号