System.Net.HttpClientComponent.TNetHTTPClient.UserAgent

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also