IO::GetCurrentProcessId Function

Gets the process ID of the game process.

Syntax

uint IO::GetCurrentProcessId()

Return value

uint
The process ID of the game process.

Remarks

You may use this function to send the PID through the Net::Socket API, in order to identify the game process from an external application and perform other actions on the process.