Environment.ProcessId Property

Definition

Gets the unique identifier for the current process.

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

Property Value

Int32

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

Applies to