Hi everybody today I had a little problem with a project I’m currently working on, I didn’t want the user to be able to kill my application process.
So I thought of using ThreadTokes but then I found a more interesting API called NtSetInformationProcess (Yes native API rock) so after reading a while and a thew BSOD’s I made this little class that does exactly what what I wanted xD okay a little explanation on what my class does;
Whenever someone kills the application process it will recreate itself and start the process, this is used by a lot of Windows Native tools also AV use this method. I’m looking forward to go a little deeper this week and try to set the Process Priority to the System Level, okay enough said.
Heres the class For VB.NET and C#
I’m pleased for any kind of suggestion or feedback xD.
P.s. the code ain’t as sexy as it could have been it’s 3:17 AM over here, and I’m kind of tired and out of sugar xD.
Code for Fun and No Profit.