简体   繁体   English

在WP7 Mango中访问隔离存储之外的文件

[英]Accessing files outside of Isolated Storage in WP7 Mango

Is it possible for a WP7 Silverlight application to access files outside of it's isolated storage? WP7 Silverlight应用程序是否可以访问隔离存储之外的文件? I know an application can't access another application's isolated storage but would it be possible to access shared files ? 我知道一个应用程序无法访问另一个应用程序的隔离存储,但是可以访问共享文件吗?

As far as I know you can only access files from isolated storage. 据我所知,您只能访问隔离存储中的文件。 Calling methods like File.Open() results in a MethodAccessException. 调用File.Open()之类的方法会导致MethodAccessException。

If you want to share files over application boundries a simple solution would be to store them on a remote location (in the cloud or on a regular webserver) and let your application work with these files. 如果要在应用程序边界上共享文件,一个简单的解决方案是将它们存储在远程位置(在云中或常规Web服务器上),然后让您的应用程序使用这些文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM