Check permission on files and directories

  • Thread starter Thread starter Jonas Nilsson
  • Start date Start date
J

Jonas Nilsson

Hi!

I need to check if the current user has READ access on a file or a
directory.

Is there a way to do this in C#?, without using try & catch.

/Jonas
 
Take a look at the FileIOPermission class. You need to
use Imperative Code Access Security.

Mike Hanson
MCSE, MCSD, MCDBA, MCT
 
Back
Top