Application lunched by a user with no read/write permissions to a specific folder.
For example : “C:\Test”.
If the application invokes Directory.Exists("C:\Test"), will the return value still be True?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Taken from : http://msdn.microsoft.com/en-us/library/system.io.directory.exists.aspx
If you do not have at a minimum read-only permission to the directory, the Exists method will return false.