Function Reference


HttpSetUserAgent

Sets the user-agent string sent with InetGet() and InetRead() requests.

HttpSetUserAgent ( "user agent" )

Parameters

user agent The string to set as the user-agent. The default user-agent is "AutoIt". Passing an empty string will reset the user-agent back to the default.

Return Value

None.

Remarks

None.

Related

InetGet, InetGetSize, InetRead

Example


HttpSetUserAgent("MyUserAgent")