User Tools

Site Tools


api:dk11:delphi:gisinternals.getdefaultuseragent_string

Table of Contents

GetDefaultUserAgent method

DK11 for Delphi | GisInternals.GetDefaultUserAgent | Enums | Fields | Methods | Types

Get default user agent String (from web downloads)

Syntax

// Delphi
function GetDefaultUserAgent(
  const _agnt : String
) : String;
// C++ Builder
extern DELPHI_PACKAGE UnicodeString GetDefaultUserAgent(
  const UnicodeString _agnt
);

Parameters

Name Type Description
_agnt String extension to default user agent String if empty then 'ttk' String will be used; _agnt String should not contain spaces

Result

Type Description
String Default user agent String.

Remarks

Default String is similar to (filled with actual information) 'Mozilla/4.0+(Winos_NT_6.0;+WOW64;+ttk)'

2019/02/08 01:13