I have tried these 2 different function but it doesn't work as expected. How to determine if drive is external drive <- the method provided on this also returns true for usb thumbdrive. But, i am looking specifically for external hard drive.
DriveInfo[] allDrives = DriveInfo.GetDrives();
foreach (DriveInfo d in allDrives)
if (d.DriveType == DriveType.Fixed && d.Name != "C:" + @"\"){}