This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17318|Reply: 0

[WinForm] C# calls the system rundll32.exe clean IE browser cache and junk

[Copy link]
Posted on 3/20/2015 9:17:08 PM | | |
  1. public void IEclear()
  2.         {
  3.             //清除ie缓存、cookie以及一切记录
  4.             Process process = new Process();
  5.             process.StartInfo.FileName = "RunDll32.exe";
  6.             process.StartInfo.Arguments = "InetCpl.cpl,ClearMyTracksByProcess 255";
  7.             process.StartInfo.UseShellExecute = false;
  8.             process.StartInfo.RedirectStandardInput = true;
  9.             process.StartInfo.RedirectStandardOutput = true;
  10.             process.StartInfo.RedirectStandardError = true;
  11.             process.StartInfo.CreateNoWindow = true;
  12.             process.Start();
  13.         }
Copy code





Previous:How to quickly judge whether a website program is a dedecms dreamweaver management system
Next:Share two virus.win32.parite virus killer tools
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com