Enumerating files on NTFS drive.

Nov 25, 2016 at 6:34 PM
  1. Does DiscUtils support identifying filetypes based on magic bytes?
  2. I need to run an analysis function on each file of a drive. A call such as
List<String> filenames = GetFiles(path)

can result in a large list when run on a large drive. Is there a way to enumerate through the files in such a way that I don't have to build a large list via a GetFiles() call first? Maybe some sort of iterator?

Thanks.
Jim