DirectoryInfo.Name Property
May 02, 2013
Gets the name of this DirectoryInfo instance.
Assembly: mscorlib (in mscorlib.dll)
This Name property returns only the name of the directory, such as "Bin". To get the full path, such as "c:\public\Bin", use the FullName property.