This is an updated version of the 'A-Faster-Directory-Enumerator' on codeproject.
MoveNext() is rewritten without recursion. (C:\Windows\winsxs\ was causing a stack overflow exception due to too many folders and repeated calls to MoveNext, causing the entire application to abruptly crash).
Increased speed 60% by not using Directory.GetDirectories(...), and if the search filter is * or *.* then the code is even faster because a separate call to fetch the directories is not required.
Increased speed another 25% by using FindFirstFileEx with the basic option (saves time by not requesting the cAlternateName).
Categories
Software DevelopmentLicense
BSD LicenseOther Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of C# FastFileInfo!