PeanutButter
|
Utility class to provide the ability to enumerate files without throwing exceptions on access errors. More...
Static Public Member Functions | |
static IEnumerable< string > | EnumerateFiles (string path, string searchPattern, SearchOption searchOpt) |
mostly lifted from http://stackoverflow.com/questions/5098011/directory-enumeratefiles-unauthorizedaccessexception |
Utility class to provide the ability to enumerate files without throwing exceptions on access errors.
|
static |
mostly lifted from http://stackoverflow.com/questions/5098011/directory-enumeratefiles-unauthorizedaccessexception
path | Base path to start the search from |
searchPattern | Filename pattern to match for result files |
searchOpt | Whether to search just the given base folder or recurse down the path tree |