ProScript .NET Documentation
ProScript .NET Documentation
ProScript
IDeviceNotificationListener Interface
IDeviceNotificationListener Methods
ReceiveDeviceAttachedNotification Method
ReceiveDeviceDetachedNotification Method

# IDeviceNotificationListener Methods

The IDeviceNotificationListener type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| ReceiveDeviceAttachedNotification | 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.
| ReceiveDeviceDetachedNotification | 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

#### Reference

IDeviceNotificationListener Interface
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.