Back to Devexpress

DefaultUserAgent Constant

vcl-dxauthorizationagents-dot-tdxcustomauthorizationagent-c80e5f7a.md

latest1013 B
Original Source

DefaultUserAgent Constant

Specifies the default user agent string for the authorization agent.

Declaration

delphi
const DefaultUserAgent: string = '';

Returns

TypeDescription
string

A user agent identifier.

|

Remarks

This writeable typed constant initializes the newly created authorization agent’s UserAgent property. You can use the DefaultUserAgent typed constant to assign a specific user agent string (such as ‘Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0’, for instance) for all new authorization agents.

See Also

TdxCustomAuthorizationAgent Class

TdxCustomAuthorizationAgent Members

dxAuthorizationAgents Unit