This documentation is archived and is not being maintained.

Process.GetProcessById Method

Creates a new Process component, and associates it with the existing process resource that you specify.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method Static member GetProcessById(Int32) Returns a new Process component, given the identifier of a process on the local computer.
Public method Static member GetProcessById(Int32, String) Returns a new Process component, given a process identifier and the name of a computer on the network.