Table of Contents

Enum DriveType

Namespace
System.IO
Assembly
System.IO.FileSystem.dll

Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown.

public enum DriveType

Fields

Fixed = 3

The drive is fixed, such as internal flash or eeprom.

NoRootDirectory = 1

The drive does not have a root directory.

Ram = 4

The drive is a RAM disk.

Removable = 2

The drive is a removable storage device, such as a USB flash drive or SD Card.

Unknown = 0

The type of drive is unknown.