Click or drag to resize

TwainFileSystem Class

This class is used with SendCommand to control the file system of a Twain compatible camera.
Inheritance Hierarchy
SystemObject
  Atalasoft.TwainTwainFileSystem

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

The TwainFileSystem type exposes the following members.

Constructors
  NameDescription
Public methodTwainFileSystem
Creates a new instance of TwainFileSystem.
Top
Properties
  NameDescription
Public propertyCreateTimeDate
Gets the image creation time.
Public propertyDeviceGroupMask
Gets or sets the device groups
Public propertyFileType
Gets or sets the type of file to work with.
Public propertyFreeSpace
Gets the amount of free space in the device.
Public propertyInputName
Gets or sets the filename to work with.
Public propertyModifiedTimeDate
Gets the modified date of the file.
Public propertyNewImageSize
Gets the size of the image.
Public propertyNumberOfFiles
Gets the number of files in the current directory.
Public propertyNumberOfSnippets
The number of audio snippets in the current directory.
Public propertyOutputName
Gets or sets the output filename.
Public propertyRecursive
Gets or sets a value indicating whether an action is recursive.
Public propertySize
Gets the size of the file in bytes.
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This class can only be used with the FileSystemAutomaticCaptureDirectory, FileSystemChangeDirectory, FileSystemCopy, FileSystemCreateDirectory, FileSystemDelete, FileSystemFormatMedia, FileSystemGetClose, FileSystemGetFirstFile, FileSystemGetInfo, FileSystemGetNextFile and FileSystemRenameTwainTriplet values.
See Also