DriveInfo.DriveType Property
.NET Framework (current version)
Gets the drive type, such as CD-ROM, removable, network, or fixed.
Assembly: mscorlib (in mscorlib.dll)
The DriveType property indicates whether a drive is one of the following: CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, or Unknown. These values are described in the DriveType enumeration.
.NET Framework
Available since 2.0
Available since 2.0
Show: