This comparison of solutions shows which is the fastest way to get files - or directories, if necessary - for later processing.
(This run is done once, and based on my 'C' drive without any admin rights).
I have made the custom searches react to AccessDenied
errors, so they are safe to use for exploring. The classes use C# NET. 8.0
, be aware if you need them in NET.Core
.
You can check them out or test them on your computer and use them as you like!
Happy if it helps! :)