I want to disable a process in operating system while my exe is running. If former process running when my process start it will be disable and after my exe closed it will continue to run.
I am using C#, I tried process.kill
method in System.Diagnostics
namespace but that function closes application permanently.