VintaSoft Twain .NET SDK v10.3
Vintasoft.Twain Namespace / DeviceManager Class / OpenedDevice Property

In This Topic
    OpenedDevice Property (DeviceManager)
    In This Topic
    Gets the device opened in device manager.
    Public ReadOnly Property OpenedDevice As Device
    Dim instance As DeviceManager
    Dim value As Device
    value = instance.OpenedDevice
    public Device OpenedDevice {get;}
    public: __property Device* get_OpenedDevice();
    property Device^ OpenedDevice {
       Device^ get();

    Property Value

    Device opened in device manager; null if there is no device opened in device manager.
    Thrown if device manager is not open.
    Thrown if object is disposed.
    Only one device can be opened in device manager at one moment. Create several instances of DeviceManager class if several devices must be opened at one moment.

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2016, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also