Вход на сайт
Как прочитать C:\Documents and Settings
540 просмотров
Перейти к просмотру всей ветки
в ответ AlexNek 27.03.19 23:01
https://docs.microsoft.com/en-us/dotnet/csharp/programming...
The weakness in this approach is that if any one of the subdirectories under the specified root causes a DirectoryNotFoundException or UnauthorizedAccessException, the whole method fails and returns no directories. The same is true when you use the GetFiles method.