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.

  Name Description
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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft