ProScript .NET Documentation
ProScript .NET Documentation
ProScript
IDeviceNotificationListener Interface
IDeviceNotificationListener Methods

# 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.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public interface IDeviceNotificationListener

    Public Interface IDeviceNotificationListener

    public interface class IDeviceNotificationListener

    type IDeviceNotificationListener =  interface end

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

ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.