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).

Project Activity

See All Activity >

License

BSD License

Follow C# FastFileInfo

C# FastFileInfo Web Site

Other Useful Business Software
Compliant and Reliable File Transfers Backed by Top Security Certifications Icon
Compliant and Reliable File Transfers Backed by Top Security Certifications

Cerberus FTP Server delivers SOC 2 Type II certified security and FIPS 140-2 validated encryption.

Stop relying on non-certified, legacy file transfer tools that creak under the weight of modern security demands. Get full audit trails, advanced access controls and more supported by an award-winning team of experts. Start your free 25-day trial today.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of C# FastFileInfo!

Additional Project Details

Operating Systems

Windows

Languages

English

Intended Audience

Developers

Programming Language

C#

Related Categories

C# Software Development Software

Registered

2017-04-15