views:

165

answers:

1

Hello, I have some process running. And I know its processId. I need to create a new Diagnostics.Process instance to attach to that known process. How to do that? Languages - VB.Net or C#

+1  A: 

The answer is very easy:

Process p = Process.GetProcessById(procId)
Seacat