How can i get music properties of IsolatedStorageFile? I am aware of StorageFile.GetFileFromPathAsync
but i couldn't figure out how to get StorageFile from IsolatedStorageFile either
There are two parts to this:
I couldn't figure out how to get StorageFile from IsolatedStorageFile either
To get a file from the applications local storage (WP7 Isolated Storage) you need to access the folder using:
StorageFolder localRoot = ApplicationData.Current.LocalFolder;
StorageFile file = await localRoot.getFileAsync("filename.txt");
How can I get music properties of IsolatedStorageFile?
Getting the properties of a file in the isolated storage is not supported by Silverlight. Unfortunately it isn't supported with a StorageFile either.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.