سؤال

I am working on WP project i need to get the images from local folder, when I use Directory.GetFiles() method i get 'System.MethodAccessException' but it works fine on a device.
Can anybody please explain me the reason?

Regards, Sonya

لا يوجد حل صحيح

نصائح أخرى

You should use IsolatedStorage.GetFileNames instead of Directory.GetFiles.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top