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

System.Security.AccessControl.EventWaitHandleAccessRule

public sealed class EventWaitHandleAccessRule : AccessRule
Represents a set of access rights allowed or denied for a user or group. This class cannot be inherited.

Gets the rights allowed or denied by the access rule.

Initializes a new instance of the EventWaitHandleAccessRule class, specifying the user or group the rule applies to, the access rights, and whether the specified access rights are allowed or denied.

public EventWaitHandleAccessRule(string identity, EventWaitHandleRights eventRights, AccessControlType type)

Initializes a new instance of the EventWaitHandleAccessRule class, specifying the name of the user or group the rule applies to, the access rights, and whether the specified access rights are allowed or denied.