System.Net.HttpClientComponent.TNetHTTPClient.UserAgent
Delphi
property UserAgent: string read GetUserAgent write SetUserAgent;
C++
__property System::UnicodeString UserAgent = {read=GetUserAgent, write=SetUserAgent};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | System.Net.HTTPClientComponent.pas System.Net.HTTPClientComponent.hpp |
System.Net.HttpClientComponent | TNetHTTPClient |
Description
Property to manage the User-Agent header that the TNetHTTPClient component adds to any request.
The UserAgent property specifies the user agent originating the request.