Next: , Previous: Agent GETEVENTCOUNTER, Up: Agent Protocol

2.6.15 Return information about the process

This is a multipurpose function to return a variety of information.

     GETINFO what

The value of what specifies the kind of information returned:

Return the version of the program.
Return the process id of the process.
Return the name of the socket used to connect the agent.
Return the name of the socket used for SSH connections. If SSH support has not been enabled the error GPG_ERR_NO_DATA will be returned.