Example #1
0
        public IEnumerable <string> GetAllFilePaths()
        {
            if (!filePaths.Any())
            {
                using (FileSystem fileSystem = diskImage.OpenFileSystem())
                {
                    fileSystem.WalkDirectories(
                        FindFiles_DirectoryWalkCallback,
                        DirWalkFlags.Recurse | DirWalkFlags.Unallocated);
                }
            }

            return(filePaths);
        }