2013年7月2日

cookie转CookieCollection

摘要: CookieCollection cookiesResponse = new CookieCollection();if (response != null){ foreach (string cookie in response.Headers["Set-Cookie"].Split(';')) { string name = cookie.Split('=')[0]; string value = cookie.Substring(name.Length + 1); cookiesResponse.Add(new Cookie(name. 阅读全文

posted @ 2013-07-02 00:02 HOT SUMMER 阅读(1624) 评论(0) 推荐(1) 编辑

导航