Web.HTTPApp.TWebRequest.UserAgent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UserAgent: string index 13 read GetStringVariable;

C++

__property System::UnicodeString UserAgent = {read=GetStringVariable, index=13};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebRequest

Description

Reports the value of the User-Agent header of the HTTP request message.

Read UserAgent to obtain information about the user agent originating the client request. Use the UserAgent information for statistical purposes, for tracing protocol violations, and for tailoring responses to known limitations of specific applications that generate client requests. The UserAgent string contains one or more descriptors, in order of significance. Each descriptor gives the name of the product or application that generated the request, or a comment about the user agent.

See Also