Introduction - If you have any usage issues, please Google them yourself
C# read the file folder attributes of all files, including file name, file size, creation time, path. Realization of ideas: the DirectoryInfo object is instantiated, access to all files and subdirectories in the specified directory type/determine whether it is a folder, the folder name using the acquired instantiate a DirectoryInfo object, add a folder for the ListView control information, displayed in a list folder name, file size, and path, file name and then use the Get instance of the FileInfo object, add the file information for the ListView control.