File: gnupg.info, Node: Agent GETINFO, Next: Agent OPTION, Prev: Agent GETEVENTCOUNTER, Up: Agent Protocol 2.6.16 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: 'version' Return the version of the program. 'pid' Return the process id of the process. 'socket_name' Return the name of the socket used to connect the agent. 'ssh_socket_name' 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.