I am using Environment.GetLogicalDrives (); for a list of drives. I remember in C ++ I could use GetDriveType to find out if the device was a CD, removable, flash, etc., And I think I want to put a filter in my application to show only CD and removable default. What is the equivalent of GetDriveType in C #? Google just showed me hacks to use C ++ call.
user34537
source share