I am looking for a way to check and see if someone attached to a program/process I start.
I want to make it harder to reverse engineer my program by disabling attach to process.
Is this do able? is there some API call that will look to see if something is attached to my process and if so end process.
From my understanding I can or should be able to check this in my code and if i see that this is true i can just kill my self or whats attached to my self.
#if DEBUG
RTBconsole.Text = "Debug version";
#endif
This only stopped me from debugging my code I want to be able to stop any attachment form taking place on my process.