Application.Handle (gb)

Static Property Read Handle As Integer

Returns the system pid (process identifier) of your program. This returns the same value as the property named Id.