<PackageReference Include="System.Security.AccessControl" Version="5.0.0-rc.2.20475.5" />

CustomAce

public sealed class CustomAce : GenericAce
Represents an Access Control Entry (ACE) that is not defined by one of the members of the AceType enumeration.
public static readonly int MaxOpaqueLength

Returns the maximum allowed length of an opaque data blob for this CustomAce object.

public int OpaqueLength { get; }

Gets the length of the opaque data associated with this CustomAce object.

public CustomAce(AceType type, AceFlags flags, byte[] opaque)

Initializes a new instance of the CustomAce class.

public byte[] GetOpaque()

Returns the opaque data associated with this CustomAce object.

public void SetOpaque(byte[] opaque)

Sets the opaque callback data associated with this CustomAce object.