The .NET DirectoryInfo object contains detailed information about a directory on the filesystem.
The .NET DirectoryInfo object contains detailed information about a directory on the filesystem. It allows you to retrieve properties for a directory such as creation, last access and write times. It also provides the user with the ability to move and delete. Constructed with a directory path, the path does not need to exist when creating a DirectoryInfo instance.