c# - Kill some processes by .exe file name -


How can I delete some active processes by searching their .exe filenames in C # .net or C ++ Am I

quick answer:

  foreach (process process in GETProcessesByName ( "Whatever")} {Process.Kill (); }  

(Exclude .exe by process name)


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -