Unfortunately, no the only way to change the user-agent is to modify the wyUpdate source code.
Hi,
we use wyUpdate to update our WPF desktop app that runs in different corporate environments.The IT department of one of our customers has decided to block HTTP requests from the IE on its proxy servers to force the company's users to use Firefox.
This also causes updates via wyUpdate to fail, because it apparently identifies itself as IE 9.0 when requesting the wyserver.wys file. Using Fiddler we found out that the request contains
User-Agent: Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 6.1; en-US; wyUpdate)
Is there a way to change the user agent used for the request? We already know which user agents are allowed by the customer's proxy server, but have not found a way to change the user agent used by wyUpdate.
Any help appreciated, this is an important issue for us, as it has stopped the automatic updates for one of our most important customers.
Christoph
Unfortunately, no the only way to change the user-agent is to modify the wyUpdate source code.