Environment.ProcessId Property

Definition

Gets the unique identifier for the current process.

public:
 static property int ProcessId { int get(); };
public static int ProcessId { get; }
static member ProcessId : int
Public Shared ReadOnly Property ProcessId As Integer

Property Value

A number that represents the unique identifier for the current process.

Applies to