ProcessThread.Id Property


Gets the unique identifier of the thread.

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

public int Id { get; }

Property Value

Type: System.Int32

The unique identifier associated with a specific thread.

The operating system reuses thread identification numbers, which identify threads only during their lifetimes.

.NET Framework
Available since 1.1
Return to top