MonobjcMonobjc Documented Class Library
RunningApplicationWithProcessIdentifier Method (pid)
NamespacesMonobjc.AppKitNSRunningApplicationRunningApplicationWithProcessIdentifier(Int32)

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.

Declaration Syntax
C#Visual BasicVisual C++
public static NSRunningApplication RunningApplicationWithProcessIdentifier(
	int pid
)
Public Shared Function RunningApplicationWithProcessIdentifier ( _
	pid As Integer _
) As NSRunningApplication
public:
static NSRunningApplication^ RunningApplicationWithProcessIdentifier(
	int pid
)
Parameters
pid (Int32)
The process identifier.
Return Value
An instance of NSRunningApplication for the specified pid, or nil if the application has no process identifier.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)