我希望在用户指定的一些特定时间之后杀死所有打开的浏览器 [英] I want to Kill all the Opened Browsers After Some paticular instant of time that was specified by the User

查看:92
本文介绍了我希望在用户指定的一些特定时间之后杀死所有打开的浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想要杀死所有打开的浏览器在某个特定时刻之后它将是一个并行的过程以及我已经在做。



使用C#。



对此实现的任何建议..

Hi,

I want to kill all the open Browser After Some particular instant of time and it will be a parallel process along with that That I am already doing.

USING C#.

Any Suggestion for this implementaion..

推荐答案

你可以做到 - 但这不是一个好主意:

You can do it - but it''s not a good idea:
Process[] processes = Process.GetProcessesByName("chrome");
foreach (Process p in processes)
    {
    p.Kill();
    }



你必须为IE,Firefox,歌剧等等重复这个。



但是......如果你的应用程序在我的电脑上做到了这一点?它会在极端偏见的情况下被删除,我会立即要求退款,我再也不会相信贵公司的应用程序。


You would have to repeat this for IE, Firefox, opera, etc., etc..

But...if your app did that on my PC? It would be deleted with extreme prejudice, a refund would be demanded immediately and I would never trust an app from your company again.


这篇关于我希望在用户指定的一些特定时间之后杀死所有打开的浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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