Device Class |
[This is preliminary documentation and is subject to change.]
Namespace: UsbEject
The Device type exposes the following members.
| Name | Description | |
|---|---|---|
| Capabilities |
Gets the device's capabilities.
| |
| Class |
Gets the device's class name.
| |
| ClassGuid |
Gets the device's class Guid as a string.
| |
| Description |
Gets the device's description.
| |
| DeviceClass |
Gets the device's class instance.
| |
| FriendlyName |
Gets the device's friendly name.
| |
| Index |
Gets the device's index.
| |
| InstanceHandle |
Gets the device's instance handle.
| |
| IsUsb |
Gets a value indicating whether this device is a USB device.
| |
| Parent |
Gets the device's parent device or null if this device has not parent.
| |
| Path |
Gets the device's path.
| |
| RemovableDevices |
Gets this device's list of removable devices.
Removable devices are parent devices that can be removed.
|
| Name | Description | |
|---|---|---|
| CompareTo |
Compares the current instance with another object of the same type.
| |
| Eject |
Ejects the device.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |