In my mind, opening a connection to the TWAIN DSM is similar to the concept of opening a connection to a SQL database, meaning it is a resource that should probably implement IDisposable. Neither TWAINWorkingGroup.TWAIN nor TWAINWorkingGroupToolkit.TWAINCSToolkit implement the IDisposable pattern. I would think at least the main TWAIN class would implement it.
In my mind, opening a connection to the TWAIN DSM is similar to the concept of opening a connection to a SQL database, meaning it is a resource that should probably implement
IDisposable
. NeitherTWAINWorkingGroup.TWAIN
norTWAINWorkingGroupToolkit.TWAINCSToolkit
implement the IDisposable pattern. I would think at least the mainTWAIN
class would implement it.