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

Mono.Unix.UnixProcess.GetCurrentProcessId Method

Gets the operating system process ID of the current process.

public static int GetCurrentProcessId ()

See Also

Mono.Unix.Native.Syscall.getpid

Returns

A int containing the process ID of the current process.

Remarks

Requirements

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