Hello All,
When I use the File.IsDirectory(MyPath, MyDirectory) to test if the file is a directory and it returns True. If I then try to change to the directory, if it is restricted the code throws an exception error. All directories that came up in the list work but one listed: .android_secure. It shows by the name that it must be restricted. I am writing a function and I don't know how many directories or files I may hit that may be restricted on the NookColor device, so I need to catch them before they throw the error. Is there a way in code to test if they are restricted? :sign0163:
Thanks,
Margret
When I use the File.IsDirectory(MyPath, MyDirectory) to test if the file is a directory and it returns True. If I then try to change to the directory, if it is restricted the code throws an exception error. All directories that came up in the list work but one listed: .android_secure. It shows by the name that it must be restricted. I am writing a function and I don't know how many directories or files I may hit that may be restricted on the NookColor device, so I need to catch them before they throw the error. Is there a way in code to test if they are restricted? :sign0163:
Thanks,
Margret