Device Property
Device
Gets the specific type of IDevice that originated the event. This property will always be populated, regardless of whether this is an arrival event or a removal event. If the device was removed, not all members will be available on the object. An exception will be thrown if you try to use the device in a way that requires it to be present.
C#
public TDevice Device { get; }
Property Value
Type | Description |
---|---|
TDevice | An instance of |
Implements
Remarks
This property provides access to the specific TDevice
instance associated with the current event.