You may want to check the FileAccess Enumeration and FileIOPermisson Class.
To check whether the user has the access to a certain folder, a simple way is to create a new file with System.IO.File within a try/catch statement, if no exceptions pop up, that means the user does have the permission.
Kee Poppy [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
I try to map to the network drives and i am able to read the number of folders in the drives and access right for FULL CONTROL ( READ , write etc. ) is given to me and in fact "everyone in the same domain group that i am in. However i encounter the following code error where
FileOpen(1, ReadString, OpenMode.Binary) --> It prompts that access to the path of \\xxxxxxxxx\folder\ is denied.