Show / Hide Table of Contents

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#
TDevice Device { get; }

Property Value

Type Description
TDevice

An instance of TDevice that triggered this event.

Remarks

This property provides access to the specific TDevice instance associated with the current event.

In this article
Back to top Generated by DocFX