Closes and unloads Data Source Manager.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public bool CloseSourceManager()
Visual Basic
Public Function CloseSourceManager As Boolean

Return Value

True indicates success. False indicates failure.

Remarks

CloseSourceManager() is called automatically when exiting the application, if it is not called explicitly by the application.

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also