Return Value
true - if the user has pressed the "Ok" button,
false - if an error occured or if the user has pressed the "Cancel" button.
false - if an error occured or if the user has pressed the "Cancel" button.
| Exception | Description |
|---|---|
| TwainInvalidStateException | Thrown if TWAIN device manager is not open. |
| System.ObjectDisposedException | Thrown if TWAIN device manager is disposed. |
| DebuggerException | Thrown if .NET debugger is used and the function evaluation requires all threads to run. |
Please see example here: DeviceManager.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5