Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DriveInfo Members

Provides access to information on a drive.

The DriveInfo type exposes the following members.

  NameDescription
Public method DriveInfo Provides access to information on the specified drive.
Top
  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetDrives Retrieves the drive names of all logical drives on a computer.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a drive name as a string. (Overrides Object.ToString().)
Top
  NameDescription
Public property AvailableFreeSpace Indicates the amount of available free space on a drive.
Public property DriveFormat Gets the name of the file system, such as NTFS or FAT32.
Public property DriveType Gets the drive type.
Public property IsReady Gets a value indicating whether a drive is ready.
Public property Name Gets the name of a drive.
Public property RootDirectory Gets the root directory of a drive.
Public property TotalFreeSpace Gets the total amount of free space available on a drive.
Public property TotalSize Gets the total size of storage space on a drive.
Public property VolumeLabel Gets or sets the volume label of a drive.
Top
  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a SerializationInfo object with the data needed to serialize the target object.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.