Please help me! I'm trying to protect my program from an app called fiddler. How do I close it by the description? I would kill it by the name but someone could easily change it. Thanks.
How to kill a process by the description not its name
Collapse
X
-
Am i correct in assuming that your application sends information over the network, and that you do not want anyone to see that?
Than your search will lead to no answer because there are more programs which can to the same as Fiddler does.
(like i.e.: Whireshark) -
You can just do it like this:
Code:For Each p As Process In Process.GetProcesses Try Dim ProcessFile = FileVersionInfo.GetVersionInfo(p.MainModule.FileName) If ProcessFile.FileDescription.ToLower.Contains("YourStringHere") then p.Kill() End If Catch ex As System.ComponentModel.Win32Exception 'catch the exception here End Try NextComment
Comment