![]() It allows you to get information about a process in several ways. For that, you need a rather old fashioned looking method in NTDLL.DLL called NtQueryInformationProcess(). NET way to determine the process ID of the parent of a process. So it's just a question of enumerating those, finding out which ones depend on the process we want to kill and killing those too, right? It seems easy enough, especially since the Process class in System.Diagnostics comes with a handy method called GetProcesses() that lists all running processes on the system. For the Console Process class I needed a way to do this programmatically. ![]() Using Task Manager it's easy to kill a process and all processes started by it. Using constants for table and column names.Using a FileSystemWatcher from PowerShell. ![]() Comparing folder security using PowerShell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |