VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Twain Namespace / DeviceManager Class / ShowDefaultDeviceSelectionDialog() Method
Syntax Exceptions Example Requirements SeeAlso
In This Topic
ShowDefaultDeviceSelectionDialog() Method (DeviceManager)
In This Topic
Displays the default TWAIN device selection dialog so the user can change the default TWAIN device.
Syntax
'Declaration

Public Function ShowDefaultDeviceSelectionDialog() As Boolean

public bool ShowDefaultDeviceSelectionDialog()

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.
Exceptions
ExceptionDescription
Thrown if TWAIN device manager is not open.
Thrown if TWAIN device manager is disposed.
Thrown if .NET debugger is used and the function evaluation requires all threads to run.
Example

Please see example here: DeviceManager.

Requirements

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

See Also