如何清除WebBrowser的Cookies

var document = webBrowser1.Document;
document.ExecCommand("ClearAuthenticationCache", false, null);

找了好几天才找着,国内搜索已经被百毒打败。

Delete cookies in webBrowser without restart
http://stackoverflow.com/questions/21265674/delete-cookies-in-webbrowser-without-restart

posted @ 2016-10-21 11:30  鸽子飞扬  阅读(279)  评论(0编辑  收藏  举报