Skip to content
Auto
Products

IFileSystemDirectReadWriteOperations

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

Provides the direct read and write operations of a FileSystem.

public interface IFileSystemDirectReadWriteOperations

Supported direct access kind. ReadWrite means that all 3 kinds are supported.

public virtual FileAccess GetSupportedDirectAccess(FileLink file)

FileAccess

Section titled “OpenFileStream(FileLink, FileAccess, bool)”

Opens stream for the file in the specified handle.

public virtual Stream OpenFileStream(FileLink file, FileAccess access, bool overwrite)
  • file FileLink
    The handle for the file being written.
  • access FileAccess
    Type of access to file.
  • overwrite bool
    true if the file can be overwritten; otherwise, if the file exists, an exception will be thrown.

Stream

A stream to write content directly.