1

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

1 Answers1

0

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

Oren
  • 3,273
  • 2
  • 19
  • 15