DeviceManagerRegisterDeviceListener Method |
This method registers a new device listener for added and removed devices.
Do not attempt to register or unregister device listeners within the
listener callback.
Namespace:
ProScript
Assembly:
proscript-csharp (in proscript-csharp.dll) Version: 1.2.79.0 (1.2.79.0)
Syntax public static void RegisterDeviceListener(
IDeviceNotificationListener listener
)
Public Shared Sub RegisterDeviceListener (
listener As IDeviceNotificationListener
)
public:
static void RegisterDeviceListener(
IDeviceNotificationListener^ listener
)
static member RegisterDeviceListener :
listener : IDeviceNotificationListener -> unit
Parameters
- listener
- Type: ProScriptIDeviceNotificationListener
listener to register
See Also