I can Enumerate files, but when I just want to known if there are files in the directory this ist too slow or is there a fast way?
I need something like a HasFiles() or HasAnyFile() function on the directory item...or a "maxfiles" parameter in the EnumerateFiles() function, then I can give 1 for only one file.
I can Enumerate files, but when I just want to known if there are files in the directory this ist too slow or is there a fast way?
I need something like a HasFiles() or HasAnyFile() function on the directory item...or a "maxfiles" parameter in the EnumerateFiles() function, then I can give 1 for only one file.