Returns the running application with the given process identifier, or nil if no application has that pid.
Original signature is '+ (NSRunningApplication *)runningApplicationWithProcessIdentifier:(pid_t)pid'
Available in Mac OS X v10.6 and later.

C# | Visual Basic | Visual C++ |
public static NSRunningApplication RunningApplicationWithProcessIdentifier( int pid )
Public Shared Function RunningApplicationWithProcessIdentifier ( _ pid As Integer _ ) As NSRunningApplication
public: static NSRunningApplication^ RunningApplicationWithProcessIdentifier( int pid )

- pid (Int32)
- The process identifier.

An instance of NSRunningApplication for the specified pid, or nil if the application has no process identifier.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)