因为是一个注入第三方的进程,所以目前只能获取到: SHDocVw.WebBrowser axWB var document = axWB.Document as mshtml.HTMLDocument; var strCookies = document.cookie;
获取到的strCookies的值如下,但不知如何解析,求解析方法:
bdshare_firstime=1381147490263; clientlanguage=zh_CN; Hm_lpvt_3417f160d30e38b8bbc5f16fd3eed5c7=1386648376; Hm_lvt_3417f160d30e38b8bbc5f16fd3eed5c7=1386494136,1386513593,1386581676,1386648376; __utma=102400925.331670109.1381147489.1386513593.1386581672.28; __utmz=102400925.1386581681.28.28.utmccn=(organic)|utmcsr=baidu|utmctr=c%23+access+SELECT+COUNT|utmcmd=organic
utmccn=(organic)|utmcsr=baidu|utmctr=c%23+access+SELECT+COUNT|utmcmd=organic
这是不是你要的数据,关键是你需要那些数据
全要,枚举所有Cookie,判断有效期