You are here: Code Snippets
1Page 1 of 1Record 1 to 2 of 2

Code Snippets

Favourite
VOTE 0

VB.NET Extension Method to Get Total File Count in a Folder | VB.NET

Code Snippet » By Blue Cloud On Jan 30, 2012 8:18:11 AM ,

This is vb.net extension method to find the total number of files in a folder. There is one exception. It will omit the system restricted file which can not be accessed. Recursively call itself to calculate subdirectories.

Favourite
VOTE 0

C# Extension Method to Get Total File Count in a Folder | C#

Code Snippet » By Blue Cloud On Jan 29, 2012 8:15:57 AM ,

If you want to know how many files exist in a certain directory including all files of subdirectories, you can use this function. There is one exception. It will omit the system restricted file which can not be accessed. Recursively call itself to calculate subdirectories.

1Page 1 of 1Record 1 to 2 of 2