求c#获取指定网页的cookie值并截取其中一段!
求c#获取指定网页的cookie值并截取其中一段!登录一个网页获取网页的cookie值,并截取其中段,然后添加到www.xxx.com/1.php=获取的指定值! --------------------编程问答-------------------- 用正则或者IndexOf()然后substring下 --------------------编程问答-------------------- 字符串处理下即可 --------------------编程问答-------------------- 我现在是不知道用什么获取cookie --------------------编程问答-------------------- HttpWebRequest
httpRequest.CookieContainer --------------------编程问答-------------------- HttpCookie cookie = Request.Cookies["名称"]; --------------------编程问答--------------------
谢谢!
补充:.NET技术 , C#