Link to home
Start Free TrialLog in
Avatar of yaron89
yaron89

asked on

Cheking folder or file permissions

In my C# winform app. what is the proper and quicker way to check a folder or file write/read  permissions before loading the app.?
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Checking existing permissions will validate what should be. If you want to check what is, then try to read from and write to, i.e. try exactly what your application will be doing.

The difference between should and is is exactly what makes people come to E-E with the question "I have correct permissions, but for some reason my application does not work".
Avatar of yaron89
yaron89

ASKER

Thank you