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

System.Security.AccessControl.MutexAuditRule

public sealed class MutexAuditRule : AuditRule
Represents a set of access rights to be audited for a user or group. This class cannot be inherited.
public MutexRights MutexRights { get; }

Gets the access rights affected by the audit rule.

public MutexAuditRule(IdentityReference identity, MutexRights eventRights, AuditFlags flags)

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