UserAgent for wyUpdate

Hi,

It would be nice if one could customize the UserAgent of wyUpdate with a command line switch. In the OS X version of our software we intensly use the UserAgent of the updater for creating statistics about the application versions (and the OS version) asking for a new version. At the moment it seems to be hardcoded.

((HttpWebRequest)request).UserAgent = "wyUpdate / " + VersionTools.FromExecutingAssembly();

Yves

No, you can't change the useragent. But you can specify url arguments to the filename. Then you can just search your logs for whatever stats you need.

For instance, if you use:

wyUpdate.exe -urlargs:"special-tracking-code"

And you specify this argument in wyBuild site list:

http://yoursite.com/updates/%file%?%urlargs%