VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Twain Namespace / DeviceManager Class / IsTwain2Compatible Property
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
IsTwain2Compatible Property (DeviceManager)
In This Topic
Gets or sets a value indicating whether TWAIN device manager 2.x should be used.
Syntax
'Declaration

<DescriptionAttribute("A value indicating whether TWAIN device manager 2.x should be used.")>
Public Property IsTwain2Compatible As Boolean

[Description("A value indicating whether TWAIN device manager 2.x should be used.")]
public bool IsTwain2Compatible { get; set; }

Property Value

true - TWAINDSM.DLL should be used as TWAIN device manager,
false - TWAIN_32.DLL should be used as TWAIN device manager. Default value is false.
Exceptions
ExceptionDescription
Thrown if TWAIN device manager is disposed.
Thrown if TWAIN device manager is not closed.
Thrown if user tries to set this property to False in 64-bit application.
Remarks

Path to the TWAIN device manager will be detected anew when value of this property is changed.

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