DirectoryAccessRule Constructors

A rule that allows or denies access to a file directory.
Name Parameters Description
DirectoryAccessRule(AccessPermission) permission Creates an instance of the DirectoryAccessRule that provides the specified access permission to file directories.
DirectoryAccessRule(AccessPermission, String[]) permission, directories Creates the DirectoryAccessRule type rule that provides the specified access permission to the specified file directories.
See Also