// using System.IO; public DriveType GetDriveType(string letter) { return new DriveInfo(letter).DriveType; }