不同的浏览器会把cookie文件保存在不同的地方
以下是C# WebBrowser控件cookies的存放路径
C:\Users\{你的帐号名}\AppData\Local\Microsoft\Windows\INetCookies
cookies文件格式请查看相关资料
下面是清除cookies的代码:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
names