using System;
using System.Security.Principal;
namespace System.Security.AccessControl
{
/// Represents a set of access rights to be audited for a user or group. This class cannot be inherited.
// Token: 0x020004CC RID: 1228
public sealed class MutexAuditRule : AuditRule
{
/// Initializes a new instance of the class, specifying the user or group to audit, the rights to audit, and whether to audit success, failure, or both.
/// The user or group the rule applies to. Must be of type or a type such as that can be converted to type .
/// A bitwise combination of values specifying the kinds of access to audit.
/// A bitwise combination of values specifying whether to audit success, failure, or both.
///
/// specifies an invalid value.-or- specifies an invalid value.
///
/// is null. -or- is zero.
///
/// is neither of type nor of a type such as that can be translated to type .
// Token: 0x06002D9A RID: 11674 RVA: 0x00093C90 File Offset: 0x00091E90
public MutexAuditRule(IdentityReference identity, MutexRights eventRights, AuditFlags flags)
: base(identity, 0, false, InheritanceFlags.None, PropagationFlags.None, flags)
{
this.rights = eventRights;
}
/// Gets the access rights affected by the audit rule.
/// A bitwise combination of values that indicates the rights affected by the audit rule.
// Token: 0x170008F9 RID: 2297
// (get) Token: 0x06002D9B RID: 11675 RVA: 0x00093CA8 File Offset: 0x00091EA8
public MutexRights MutexRights
{
get
{
return this.rights;
}
}
// Token: 0x04001206 RID: 4614
private MutexRights rights;
}
}