开发者

Silverlight OOB Application Path Portability

开发者 https://www.devze.com 2022-12-28 11:24 出处:网络
Silverlight Out-of-browser applications get installed to a seemingly random l开发者_如何学运维ocation:

Silverlight Out-of-browser applications get installed to a seemingly random l开发者_如何学运维ocation:

AppData\LocalLow\Microsoft\Silverlight\OutOfBrowser\2333572144.www.microsoft.com

for example.

Currently, I am simply storing this path, which works perfectly well on a single machine and a single install, but how can I refer to this application between different installations?


You shouldn't access the path outside of the isolated storage interface in the application, the path isn't necessarily portable.


In case anyone else is interested:

I was able to use the OriginalSourceUri property in the Silverlight app's metadata to uniquely identify and locate apps in an installation-directory-agnostic way.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号