I want to get the list of removable disk in c#. I want to skip the local drives. Because i want the user to save the file only in removable disk.
How about:
var removableDrives = from d in System.IO.DriveInfo.GetDrives() where d.DriveType == DriveType.Removable;