Click or drag to resize

IDeviceNotificationListener Interface

This interface is used to describe a class that is capable of receiving hot plug notifications from DeviceManager.

Namespace:  ProScript
Assembly:  proscript-csharp (in proscript-csharp.dll) Version: 1.2.79.0 (1.2.79.0)
Syntax
public interface IDeviceNotificationListener

The IDeviceNotificationListener type exposes the following members.

Methods
  NameDescription
Public methodReceiveDeviceAttachedNotification
This is called when a new device is added to the system. The path will always be set, the device can be null if there is a problem enumerating the new device.
Public methodReceiveDeviceDetachedNotification
This is called when a device is removed from the system. The path will always set, the device can be null if there is a problem finding the device in the cache. Don't attempt open the device object, at the point this is called the device has already been removed.
Top
See Also