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