Creates a new Process component, associating it with the existing process resource specified by the processId parameter.
Returns a new Process component given the identifier of a process on the local computer.
[Visual Basic] Overloads Public Shared Function GetProcessById(Integer) As Process
[C#] public static Process GetProcessById(int);
[C++] public: static Process* GetProcessById(int);
[JScript] public static function GetProcessById(int) : Process;
Returns a new Process component given a process identifier and the name of a computer in the network.
[Visual Basic] Overloads Public Shared Function GetProcessById(Integer, String) As Process
[C#] public static Process GetProcessById(int, String);
[C++] public: static Process* GetProcessById(int, String);
[JScript] public static function GetProcessById(int, String) : Process;
Process Class | Process Members | System.Diagnostics Namespace