Click or drag to resize

FileSystem Class

Contains methods which can navigate the file system of a camera.
Inheritance Hierarchy
SystemObject
  System.CollectionsReadOnlyCollectionBase
    Atalasoft.TwainFileSystem

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 FileSystem : ReadOnlyCollectionBase

The FileSystem type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ReadOnlyCollectionBase instance.
(Inherited from ReadOnlyCollectionBase.)
Public propertyCurrentDirectory
Gets or sets the current directory.
Protected propertyInnerList
Gets the list of elements contained in the ReadOnlyCollectionBase instance.
(Inherited from ReadOnlyCollectionBase.)
Public propertyItem
Allows you to enumerate through the directories and files in the FileSystem.
Top
Methods
  NameDescription
Public methodCollectFileInformation
Refreshes the list of directories and files.
Public methodCopy
Copies a file or directory from one location to another.
Public methodCreateDirectory
Creates a new directory in the current directory.
Public methodDelete
Deletes a file or directory from the current directory.
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 methodFormatMedia
Removes all files and folders from the file system.
Public methodGetClose
Frees an internal context which is generated by calling GetFirstFile.
Public methodGetEnumerator
Returns an enumerator that iterates through the ReadOnlyCollectionBase instance.
(Inherited from ReadOnlyCollectionBase.)
Public methodGetFirstFile
Finds the first file in the current directory and returns information about it.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextFile
Finds the next file in the current directory and returns information about it.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRename
Renames a file or directory.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also