Computes the directory statistics, such as total number of bytes in directory files, and number of files and subdirectories contained in the directory.
            
            Overload List
| Overload | Description | 
| GetStatistics(IDirectoryContents2) | Computes the directory statistics, such as total number of bytes in directory files, and number of files and subdirectories contained in the directory, recursively.   | 
| GetStatistics(IDirectoryContents2,Boolean) | Computes the directory statistics, such as total number of bytes in directory files, and number of files and subdirectories contained in the directory, optionally recursively.   | 
 
            
            
            
            
            
            
            
            
            
            
            
            
            
            Requirements
 
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
            
            See Also