IFileSystemPermissionsOperations
Namespace: TagBites.IO.Operations
Assembly: TagBites.IO.dll
Product: TagBites.IO v. 2.0.0
Provides the permission checks of a FileSystem.
public interface IFileSystemPermissionsOperationsMethods
Section titled “Methods”HasReadAccess(FileSystemStructureLink)
Section titled “HasReadAccess(FileSystemStructureLink)”Determines whether a file/directory has access to read.
public virtual bool HasReadAccess(FileSystemStructureLink link)Parameters
Section titled “Parameters”linkFileSystemStructureLink
The handle for the file/directory being checked.
Returns
Section titled “Returns”true if the file/directory can be read; otherwise, false.
HasWriteAccess(FileSystemStructureLink)
Section titled “HasWriteAccess(FileSystemStructureLink)”Determines whether a file/directory has access to written.
public virtual bool HasWriteAccess(FileSystemStructureLink link)Parameters
Section titled “Parameters”linkFileSystemStructureLink
The handle for the file/directory being checked.
Returns
Section titled “Returns”true if the file/directory can be written; otherwise, false.