getdrivetype

GetDriveType in C#? or find out if my drive is removable?

I am using Environment.GetLogicalDrives(); to get a list of drives. I remember in c++ i could use GetDriveType to find if the device was CD, removable, flash, etc and i am thinking i want to put a filter in my app to only show CD and removable on default. What is the GetDriveType equivalent in C#? google only showed me hacks to use the c...

C# getdrives with type fixed but without usb harddisks?

Hey, I want to retrieve the list of fixed disks in a system. But C#s GetDrives Fixed Drives are including plug USB Harddisks. Any idea how I may detect that a fixed Drive is not an USB harddisk or vica versa? Ciao Ephraim ...