XBAP Clear cache from application

邮差的信 提交于 2019-12-25 05:04:53

问题


Is there a way to clear the cache from Xbap application instead of running mage or rundll32 from command prompt??


回答1:


As far as I know the only available tool is 'mage -cc'.

http://www.vistax64.com/avalon/11917-xbap-applciation-issues.html




回答2:


Programmaticaly you can use this:

new System.Deployment.Application.DeploymentServiceCom().CleanOnlineAppCache();

original

Don't forget about your app rights.



来源:https://stackoverflow.com/questions/11774838/xbap-clear-cache-from-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!