Click here to Skip to main content
15,880,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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..
Posted
Updated 6-Mar-13 0:11am
v2
Comments
OriginalGriff 6-Mar-13 6:04am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.

1 solution

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

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900