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

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

gtk - Python Window Resize -

c# - read full xml file data over tcp -