DefaultUserAgent Constant
Specifies the default user agent string for the authorization agent.
Declaration
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