获取http的cookies

CookieContainer cookies;
string strCookie = cookies?.GetCookieHeader(uri).Replace("%2C", ",");

 

posted @ 2022-02-17 10:01  黄立明02  阅读(176)  评论(0编辑  收藏  举报