Click or drag to resize
DriveInfo Methods

The DriveInfo type exposes the following members.

Methods
  NameDescription
Public methodStatic memberEnumerateDrives
[AlphaFS] Enumerates the drive names of all logical drives on a computer.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetDrives
Retrieves the drive names of all logical drives on a computer.
Public methodStatic memberGetFreeDriveLetter
[AlphaFS] Gets the first available drive letter on the local system.
Public methodStatic memberGetFreeDriveLetter(Boolean)
Gets an available drive letter on the local system.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a drive name as a string.
(Overrides ObjectToString.)
Top
See Also