Mono Class Library: Mono.Unix.UnixEnvironment Overview | Members

Mono.Unix.UnixEnvironment.GetParentProcessId Method

Gets the process ID of the parent process.

public static int GetParentProcessId ()

See Also

Mono.Unix.Native.Syscall.getppid

Returns

A int containing the process ID of the parent process.

Remarks

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0