TraceEventCache.ProcessId Property

 

Gets the unique identifier of the current process.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public int ProcessId { get; }

Property Value

Type: System.Int32

The system-generated unique identifier of the current process.

Until the process terminates, the process identifier uniquely identifies the process throughout the system.

SecurityPermission

for the ability to call unmanaged code. Associated enumeration: SecurityPermissionFlag.UnmanagedCode

.NET Framework
Available since 2.0
Return to top
Show: