Environment.ProcessId Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the unique identifier for the current process.
public:
static property int ProcessId { int get(); };
C#
public static int ProcessId { get; }
static member ProcessId : int
Public Shared ReadOnly Property ProcessId As Integer
A number that represents the unique identifier for the current process.
Product | Versies |
---|---|
.NET | 5, 6, 7, 8, 9, 10 |
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
.NET-feedback
.NET is een open source project. Selecteer een koppeling om feedback te geven: