ProScript .NET Documentation
ProScript .NET Documentation
ProScript
DeviceManager Class
DeviceManager Methods
Destroy Method
GetAttachedDevices Method
GetLibraryBuildDateString Method
GetLibraryVersion Method
GetLibraryVersionMajor Method
GetLibraryVersionMinor Method
GetLibraryVersionRelease Method
Initialize Method
RegisterDeviceListener Method
UnregisterDeviceListener Method

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

    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: ProScript
  IDeviceNotificationListener
  listener to register

See Also

#### Reference

DeviceManager Class
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.