请教高人如果使用IWebBrowser2控件,同时可缓存Cookie-CSDN论坛
1个回答
展开全部
}privatestaticStringGetExpirationDateString(DateTimeexpirationDate){returnexpirationDate.ToString(",name,value,GetExpirationDateString(expirationDate)),Stringname,Strin**alue,DateTimeexpirationDate){Stringcookie=String.Format(",dd-MMM-yyyyHH.SetCookie(uripublicstaticclassCookieHelper{publicstaticvoidSetCookie(Uriuri:mm:ss")+"GMT"Application;{0}={1};expires={2}";ddd,cookie);}publicstaticStringGetCookie(Uriuri){returnApplication.GetCookie(uri)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询