如何使用C#清除Internet Explorer缓存和历史记录? [英] How to clear internet explorer cache and history using C#?

查看:111
本文介绍了如何使用C#清除Internet Explorer缓存和历史记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

再一次Hello Code Project,

我正在制作一个启动器,并使用Internet Explorer检查更新,我的问题有时是绕过更新(即使在那里也不检查更新)是新的更新可用)。

所以我想清除Internet Explorer的缓存和使用我的启动器浏览历史...我的意思是首先它将清除历史然后检查更新..它可能吗?

i试过这段代码: -

Diagnostics.Process.Start(rundll32.exe,InetCpl.cpl,ClearMyTracksByProcess 8);

和它的工作对我来说在Windows 8中完全没问题,但它在Windows XP中不起作用。

它显示我的错误InetCpl.cpl错误输入:ClearMyTracksByProcess

提前谢谢

解决方案

历史 [ ^ ]



如何使用C#清除IE缓存 [ ^ ]

Once again Hello Code Project,
I am making one launcher, and its check for update with using Internet Explorer, and my problem is sometimes its bypass update(don't check for update even there is new updates are available).
so i want to clear internet explorer's cache memory and browsing history with using my launcher.. i mean first it will clear history then check for update..is it possible?
i have tried this code :-
Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 8");
and its work perfectly fine for me in Windows 8 but it is not working in Windows XP.
its show me error there "Error in InetCpl.cpl Missing Entry:ClearMyTracksByProcess"
Thank you in advance

解决方案

History[^]

how to clear Cache for IE using C#[^]


这篇关于如何使用C#清除Internet Explorer缓存和历史记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆