Http/Https socket htmlviewer user agent settings

Hi All

Just a quick question.

I need to impersonate/spoof the http user agent string in my desktop application to an iphone4

“Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5”

I can see a reference to doing this in the Xojo LR but for MacOSX only.

Just wondering if this can be done on windows/Linux too? using Webkit

Thanks in advance