public static DriveInfo GetDriveInfoFromFilePath(string path) { string driveletter = path.PathToDriveletter(); return GetDriveInfo(driveletter); }