Internet Direct (Indy) Version 9.0.2 Beta
TIdRequestHeaderInfo.UserAgent
Identifies the user agent (program) issuing the HTTP request.

property UserAgent: string;
Description
UserAgent is a String property that contains information about the user agent originating the HTTP request. UserAgent is used for statistical purposes, the tracing of protocol violations, and automated recognition of user agents for the sake of tailoring responses to avoid particular user agent limitations.

UserAgent can contain multiple product identifiers and comments identifying the agent and any subproducts which form a significant part of the user agent.

UserAgent should be provided for all HTTP requests.

UserAgent will be set to the default value DefaultUserAgent in the Clear method.