I need to hide my C# application from process tab of Taskmanager
using
this.ShowInTaskbar = false;
I have hide it from application tab. Now I need to hide it from process tab.
Is this possible?.
You could inject a DLL into the svchost process, that would camouflage it from Task Manager but not from ProcessExplorer. Here's how:
How To Inject a Managed .NET Assembly (DLL) Into Another Process
Here's some more background info on this technique: Three Ways to Inject Your Code into Another Process
Similar to @Dark Slipstreams link it points unmanaged code info.
Let us know if you have any problems with the code running on Win7?
Edit:
how can i restrict a user while closing my process from taskmanager? - what exactly are you making here?
I dont care to guess but if you really want to know, you hook into the WinLogon, @Jeff Atwood explains it here: How to Clean Up a Windows Spyware Infestation or you could have 2 processes that both watch each other...