VintaSoft Twain .NET SDK v10.2
OpenedDevice Property (DeviceManager)




Vintasoft.WpfTwain Namespace > DeviceManager Class : OpenedDevice Property
Gets the device opened in device manager.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<ReadOnlyAttribute(True)>
Public ReadOnly Property OpenedDevice As Device
'Usage
 
Dim instance As DeviceManager
Dim value As Device
 
value = instance.OpenedDevice
[Browsable(false)]
[ReadOnly(true)]
public Device OpenedDevice {get;}
[Browsable(false)]
[ReadOnly(true)]
public: __property Device* get_OpenedDevice();
[Browsable(false)]
[ReadOnly(true)]
public:
property Device^ OpenedDevice {
   Device^ get();
}

Property Value

Device opened in device manager; null if there is no device opened in device manager.
Exceptions
ExceptionDescription
Thrown if device manager is not open.
Thrown if object is disposed.
Remarks
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.
Requirements

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

See Also

Reference

DeviceManager Class
DeviceManager Members