'Declaration <BrowsableAttribute(False)> <ReadOnlyAttribute(True)> Public ReadOnly Property DefaultDevice As Device
Return Value
Device object if device manager has default device; null if default device is not found.
'Declaration <BrowsableAttribute(False)> <ReadOnlyAttribute(True)> Public ReadOnly Property DefaultDevice As Device
Exception | Description |
---|---|
TwainInvalidStateException | Thrown if TWAIN device manager is not open. |
System.ObjectDisposedException | Thrown if object is disposed. |
DebuggerException | Thrown if .NET debugger is used and the function evaluation requires all threads to run. |
Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5