Hi,
as already stated in one of my recent posts, I'm experiencing some difficulties due to the fact that wyserver.sys gets cached in a proxy server.I tried to work around that issue, that's what I did so far:
Inside my xaml file:<updater:AutomaticUpdater .... BeforeChecking="RetrieveLatestWysFile" />
Code behind:private void RetrieveLatestWysFile(object sender, BeforeArgs eventArgs){ HttpWebRequest versionInfoRequest = WebRequest.Create("http://my.update.site/project/syserver.wys") as HttpWebRequest; versionInfoRequest.CachePolicy = new HttpRequestCachePolicy(HttpRequestCacheLevel.NoCacheNoStore); var response = versionInfoRequest.GetResponse();}
This basically works, but it isn't very elegant, since now I have to cope with proxies, proxy passwords ...
Questions / ideas on that:* Is there a way to define the caching strategy that wyUpdate makes use of while retrieving wyserver.wys?* Doesn't it make sense to hardcode a strategy that does allow not cache or storing wyserver.wys inside the code of wyUpdate? Wyserver.sys is quite small, so the benefit of caching this file is quite limited anyhow.
Thanks for your answer
Best regardsAndreas