Hi, in .NET Framework version 2.0, there is class call DriveInfo, you
can use this class to determine what drives are available, and what
type of drives they are. You can also query to determine the capacity
and available free space on the drive.
They have property called "DriveInfo.DriveType", The DriveType property
indicates whether a drive is any of: CDRom, Fixed, Unknown, Network,
NoRootDirectory, Ram, Removable, or Unknown. Values are listed in the
DriveType enumeration.
check this out:
http://msdn2.microsoft.com/en-us/lib...driveinfo.aspx
Here is an example for combining use of GetLogcialDrive and DriveType.
http://www.codeproject.com/cs/combob...vecombobox.asp
Try it. It may be useful for you
Good Luck