Skip to content
Auto
Products

IFileSystemReadOperations

Namespace: TagBites.IO.Operations
Assembly: TagBites.IO.dll
Product: TagBites.IO v. 2.0.0

Provides the read operations of a FileSystem.

public interface IFileSystemReadOperations : TagBites.IO.Operations.IFileSystemOperations

Returns information about a file/directory for the specified full name.

public virtual IFileSystemStructureLinkInfo GetLinkInfo(string fullName)
  • fullName string
    The full path of the directory or file.

IFileSystemStructureLinkInfo

A IFileSystemStructureLinkInfo representing information about a file/directory.

Section titled “GetLinks(DirectoryLink, FileSystem.ListingOptions)”

Retrieves a collection of information about files and subdirectories that match the specified search options.

public virtual IList<IFileSystemStructureLinkInfo> GetLinks(DirectoryLink directory, FileSystem.ListingOptions options)

IList<IFileSystemStructureLinkInfo>

A collection of strongly typed IFileSystemStructureLinkInfo objects representing information about the files or subdirectories.

Reads an existing file to stream

public virtual void ReadFile(FileLink file, Stream stream)
  • file FileLink
    The link to the file to be opened for reading.
  • stream Stream
    Stream to copy file content into.