C#遍历CookieContainer

 foreach(System.Net.Cookie cookie in webIf.Cookie.GetCookies(new Uri("http://baidu.com")))
  {
            string str= cookie.Name + "=" + cookie.Value;
   }

posted @ 2012-01-04 15:58  xiaofoyuan  阅读(995)  评论(0编辑  收藏  举报