<PackageReference Include="System.Threading.AccessControl" Version="10.0.9" />

System.Security.AccessControl.EventWaitHandleAuditRule

public sealed class EventWaitHandleAuditRule : AuditRule
Represents a set of access rights to be audited for a user or group. This class cannot be inherited.

Gets the access rights affected by the audit rule.

Initializes a new instance of the EventWaitHandleAuditRule class, specifying the user or group to audit, the rights to audit, and whether to audit success, failure, or both.