Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DefaultUserAgent Constant

Specifies the default user agent string for the authorization agent.

#Declaration

Delphi
const DefaultUserAgent: string = '';

#Returns

Type Description
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