How to determine directory access rights?
For a logging application (keycounter.sourceforge.net) i need to detect if the assembly has sufficient permissions to create/write/read a file in a certain directory. I would like to do this without creating a test file since this is not a very smart solution and produces empy files.
Has anybody done this before?