RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.UserAgent Property

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

Pascal
property UserAgent: AnsiString;
C++
__property AnsiString UserAgent;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!