Skip to content
Auto
Products

IFileSystemHistoryOperations

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

Provides the file history operations of a FileSystem.

public interface IFileSystemHistoryOperations

Deletes the specified file version.

public virtual void DeleteFileVersion(FileVersionLink file)

Returns information about a file version for the specified file and modification date.

public virtual IFileVersionLinkInfo GetFileVersionInfo(FileLink file, DateTime modifyTime)

IFileVersionLinkInfo

A IFileVersionLinkInfo object representing a file version.

Retrieves a collection of file versions since specified date time.

public virtual IList<IFileVersionLinkInfo> GetFileVersions(FileLink file)

IList<IFileVersionLinkInfo>

A collection of strongly typed IFileVersionLinkInfo objects representing the file versions since specified date time.

Determines whether a file version has access to read.

public virtual bool HasReadAccess(FileVersionLink link)

bool

true if the file version can be read; otherwise, false.

Determines whether a file version has access to written.

public virtual bool HasWriteAccess(FileVersionLink link)

bool

true if the file version can be written; otherwise, false.

Reads the specified file version.

public virtual Stream ReadFileVersion(FileVersionLink file)
  • file FileVersionLink
    The link to the file version to be opened for reading.

Stream

A read-only Stream for the specified file version.