Click or drag to resize

TwainIdentity Class

This class is used to identify your application to Twain and to provide information about each Twain compatible device found on the system.
Inheritance Hierarchy
SystemObject
  Atalasoft.TwainTwainIdentity

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class TwainIdentity : ITwainDataStructure

The TwainIdentity type exposes the following members.

Constructors
  NameDescription
Public methodTwainIdentity
Creates a new instance of TwainIdentity.
Public methodTwainIdentity(String, String, String)
Creates a new instance of TwainIdentity specifying the product name, product family and manufacturer.
Public methodTwainIdentity(String, String, String, Int32, Int32, LanguageType, CountryCode, String)
Creates a new instance of TwainIdentity specifying the primary values of the object.
Top
Properties
  NameDescription
Public propertyCountry
Gets or sets the country the product was produced in.
Public propertyStatic memberDefaultIdentity
Gets the default DotTwain application identity.
Public propertyID
Gets the ID given to the application or device by TWAIN.
Public propertyInfo
Gets or sets an information description of the product.
Public propertyLanguage
Gets or sets the language used by the product.
Public propertyManufacturer
Gets or sets the manufacturer name for the product.
Public propertyProductFamily
Gets or sets the product line (family) the product belongs to.
Public propertyProductName
Gets or sets the name of the product.
Public propertyProtocolMajor
Gets or sets the major version number of the Twain protocol supported by the application or device.
Public propertyProtocolMinor
Gets or sets the minor version number of the Twain protocol supported by the application or device.
Public propertySupportedGroups
Gets or sets the data groups supported by the application or device.
Public propertyVersionMajor
Gets or sets the major version of the product.
Public propertyVersionMinor
Gets or sets the minor version of the product.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetStructurePointer
Creates the memory pointer containing data sent to Twain.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsSupportedCommand
Returns a value indicating whether the implementing class supports a specific TwainTriplet command.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessResult
Receives the data pointer created by GetStructurePointer(TwainMemory) after being processed by Twain.
Public methodResetId
Sets identity ID to 0.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTraceDump
Dumps identity to string.
Top
Remarks
This class can only be used with the IdentityCloseDS, IdentityGetDefault, IdentityGetFirst, IdentityGetNext, IdentityOpenDS and IdentityUserSelectTwainTriplet values.
See Also

Reference

SystemApplicationIdentity