Killing the explorer process
Maybe a little OT, but... I am having some trouble killing the explorer a process from inside a C# application.
I am using the line
System.Diagnostics.Process.GetProcessesByName("explorer")[0].Kill();
and it works partially, because it kills the process, but it restarts immidiately after it died. This is probably not a direct C# issue, but what can i do to kill it "permanently"? If i kill the process using task manager, it dies and stays dead until i start it again manually. Can i do this from inside the C# app?