当前位置:首页 - .NET

清除cookie 方法

作者:高景洋 日期:2015-09-16 15:51:46 浏览次数:3879
Process process = new Process();
process.StartInfo.FileName = "RunDll32.exe";
process.StartInfo.Arguments = "InetCpl.cpl,ClearMyTracksByProcess 255";
process.StartInfo.UseShellExecute = false;        //关闭Shell的使用
process.StartInfo.RedirectStandardInput = true;   //重定向标准输入
process.StartInfo.RedirectStandardOutput = true;  //重定向标准输出
process.StartInfo.RedirectStandardError = true;   //重定向错误输出
process.StartInfo.CreateNoWindow = true;

process.Start();



Process 的命名空间为  using System.Diagnostics; 

本文永久性链接:
<a href="http://r4.com.cn/art81.aspx">清除cookie 方法</a>
当前header:Host: r4.com.cn X-Host1: r4.com.cn X-Host2: r4.com.cn X-Host3: 127.0.0.1:8080 X-Forwarded-For: 18.118.252.9 X-Real-Ip: 18.118.252.9 X-Domain: r4.com.cn X-Request: GET /art81.aspx HTTP/1.1 X-Request-Uri: /art81.aspx Connection: close Accept: */* User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) Accept-Encoding: gzip, br, zstd, deflate