DirectoryFileSystem: Updated Name property to return the name of the underlying file system

This commit is contained in:
Tal Aloni 2017-02-03 00:20:56 +02:00
parent c94ea8ad68
commit efbf28036e

View file

@ -286,7 +286,8 @@ namespace SMBServer
{
get
{
return "DirFS";
DriveInfo drive = new DriveInfo(m_directory.FullName.Substring(0, 2));
return drive.DriveFormat;
}
}