Click or drag to resize

Disk Class

[This is preliminary documentation and is subject to change.]

A disk device.
Inheritance Hierarchy

Namespace:  UsbEject
Assembly:  UsbEject (in UsbEject.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
public sealed class Disk : Device

The Disk type exposes the following members.

Properties
  NameDescription
Public propertyCapabilities
Gets the device's capabilities.
(Inherited from Device.)
Public propertyClass
Gets the device's class name.
(Inherited from Device.)
Public propertyClassGuid
Gets the device's class Guid as a string.
(Inherited from Device.)
Public propertyDescription
Gets the device's description.
(Inherited from Device.)
Public propertyDeviceClass
Gets the device's class instance.
(Inherited from Device.)
Public propertyDiskNumber
Gets the disk number.
Public propertyFriendlyName
Gets the device's friendly name.
(Inherited from Device.)
Public propertyIndex
Gets the device's index.
(Inherited from Device.)
Public propertyInstanceHandle
Gets the device's instance handle.
(Inherited from Device.)
Public propertyIsUsb
Gets a value indicating whether this device is a USB device.
(Inherited from Device.)
Public propertyParent
Gets the device's parent device or null if this device has not parent.
(Inherited from Device.)
Public propertyPath
Gets the device's path.
(Inherited from Device.)
Public propertyRemovableDevices
Gets this device's list of removable devices. Removable devices are parent devices that can be removed.
(Inherited from Device.)
Top
Methods
  NameDescription
Public methodCompareTo
Compares the current instance with another object of the same type.
(Inherited from Device.)
Public methodEject
Ejects the device.
(Inherited from Device.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also