Application.Id (gb)
Syntax
STATIC PROPERTY READ Id AS Integer
Returns the system pid (process identifier) of your program.