UtilFileHasRights(FileInfo, FileSystemRights, AccessControlType) Method

Determines whether a file contains the specified user-rights.

Definition

Namespace: DevCase.Core.IO.FileSystem
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool HasRights(
	FileInfo file,
	FileSystemRights rights,
	AccessControlType accessControlType
)

Parameters

file  FileInfo
The source file.
rights  FileSystemRights
The user-rights.
accessControlType  AccessControlType
The access control type, determines whether to check for allowed user-rights or denied user-rights.

Return Value

Boolean
if the file contains the user-rights; otherwise, .

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also