ExtensionMethod.NET Home of 880 C#, Visual Basic, F# and Javascript extension methods
The method extends the Process class to retrieve (if possible) the id of the parent process. The method uses P/Invoke to access the system data. It uses API in kenrnel32.dll (CreateToolhelp32Snapshot, Process32First, Process32Next).