FileSystemAclExtensions Class

Syntax

Declaration

[SecurityCritical]
public static class FileSystemAclExtensions

Inheritance Hierarchy

  • FileSystemAclExtensions

Inherited Members

System.Object

, , , , , ,

Methods summary

Methods

  • GetAccessControl(DirectoryInfo)
    public static DirectorySecurity GetAccessControl(this DirectoryInfo directoryInfo)

    Parameters

    Returns

  • GetAccessControl(DirectoryInfo, AccessControlSections)
    public static DirectorySecurity GetAccessControl(this DirectoryInfo directoryInfo, AccessControlSections includeSections)

    Parameters

    Returns

  • GetAccessControl(FileInfo)
    public static FileSecurity GetAccessControl(this FileInfo fileInfo)

    Parameters

    Returns

  • GetAccessControl(FileInfo, AccessControlSections)
    public static FileSecurity GetAccessControl(this FileInfo fileInfo, AccessControlSections includeSections)

    Parameters

    Returns

  • GetAccessControl(FileStream)
    public static FileSecurity GetAccessControl(this FileStream fileStream)

    Parameters

    Returns

  • SetAccessControl(DirectoryInfo, DirectorySecurity)
    public static void SetAccessControl(this DirectoryInfo directoryInfo, DirectorySecurity directorySecurity)

    Parameters

  • SetAccessControl(FileInfo, FileSecurity)
    public static void SetAccessControl(this FileInfo fileInfo, FileSecurity fileSecurity)

    Parameters

  • SetAccessControl(FileStream, FileSecurity)
    public static void SetAccessControl(this FileStream fileStream, FileSecurity fileSecurity)

    Parameters

Attributes

System.Security.SecurityCriticalAttribute

Details

Namespace

System.IO

Assembly

System.IO.FileSystem.AccessControl.dll