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

NativeObjectSecurity

public abstract class NativeObjectSecurity : CommonObjectSecurity
protected NativeObjectSecurity(bool isContainer, ResourceType resourceType)

protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, SafeHandle handle, AccessControlSections includeSections)

protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, SafeHandle handle, AccessControlSections includeSections, ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext)

protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext)

protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, string name, AccessControlSections includeSections)

protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, string name, AccessControlSections includeSections, ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext)

protected void Persist(SafeHandle handle, AccessControlSections includeSections, object exceptionContext)

protected void Persist(string name, AccessControlSections includeSections, object exceptionContext)