C
cbmeeks
I have a project that gathers a list of directories on a computer.
When it hits hidden, protected directories (like c:\system volume
information) it throws an UnauthorizedAccessException error.
As a quick fix, I've captured that error in a try/catch block and just
ignored it (including ignoring the directory).
I don't like kludging like this. Is there a better way?
Thanks
-cbmeeks
When it hits hidden, protected directories (like c:\system volume
information) it throws an UnauthorizedAccessException error.
As a quick fix, I've captured that error in a try/catch block and just
ignored it (including ignoring the directory).
I don't like kludging like this. Is there a better way?
Thanks
-cbmeeks