Read file and directory attributes(madskristensen.dk)
submitted by
madskristensen(8565) 5 years, 8 months ago
I’ve just finished a small application that does some IO work on files and directories. The application moves directories to new locations, but every time a folder or file was marked read-only it would of course throw an exception. The same happened with system files and folders. The obvious solution would be to add a try/catch block to the method, but I wanted something better.
|category: C#
|Views: 9
tags:
Permissions IO MadsKristensen another
Everyones tags:
Your Tags: