AcquisitionCreateDeviceSession Method |
Returns a new Device class that uses its own TwainController instead of
the controller used by the Acquisition object for a single session scan. This may be required for
some remote systems such as Citrix.
Namespace:
Atalasoft.Twain
Assembly:
Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public Device CreateDeviceSession(
string productName
)
Public Function CreateDeviceSession (
productName As String
) As Device
Parameters
- productName
- Type: SystemString
The product name of the scanner to connect to
Return Value
Type:
Device A new
Device object. You must Dispose this object when you are done with it.
See Also