You should use IsolatedStorage.GetFileNames
instead of Directory.GetFiles
.
method access exception in wp7 emulator
-
01-06-2022 - |
Pregunta
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
No hay solución correcta
Otros consejos
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow