using System;
using System.Security.Principal;
namespace System.Security.AccessControl
{
/// Represents the Windows access control security applied to a named system wait handle. This class cannot be inherited.
// Token: 0x020004C0 RID: 1216
public sealed class EventWaitHandleSecurity : NativeObjectSecurity
{
/// Initializes a new instance of the class with default values.
/// This class is not supported on Windows 98 or Windows Millennium Edition.
// Token: 0x06002D39 RID: 11577 RVA: 0x00093844 File Offset: 0x00091A44
public EventWaitHandleSecurity()
{
throw new NotImplementedException();
}
/// Gets the enumeration type that the class uses to represent access rights.
/// A object representing the enumeration.
// Token: 0x170008DC RID: 2268
// (get) Token: 0x06002D3A RID: 11578 RVA: 0x00093854 File Offset: 0x00091A54
public override Type AccessRightType
{
get
{
return typeof(EventWaitHandleRights);
}
}
/// Gets the type that the class uses to represent access rules.
/// A object representing the class.
// Token: 0x170008DD RID: 2269
// (get) Token: 0x06002D3B RID: 11579 RVA: 0x00093860 File Offset: 0x00091A60
public override Type AccessRuleType
{
get
{
return typeof(EventWaitHandleAccessRule);
}
}
/// Gets the type that the class uses to represent audit rules.
/// A object representing the class.
// Token: 0x170008DE RID: 2270
// (get) Token: 0x06002D3C RID: 11580 RVA: 0x0009386C File Offset: 0x00091A6C
public override Type AuditRuleType
{
get
{
return typeof(EventWaitHandleAuditRule);
}
}
/// Creates a new access control rule for the specified user, with the specified access rights, access control, and flags.
/// An object representing the specified rights for the specified user.
/// An that identifies the user or group the rule applies to.
/// A bitwise combination of values specifying the access rights to allow or deny, cast to an integer.
/// Meaningless for named wait handles, because they have no hierarchy.
/// Meaningless for named wait handles, because they have no hierarchy.
/// Meaningless for named wait handles, because they have no hierarchy.
/// One of the values specifying whether the rights are allowed or denied.
///
/// , , , or specifies an invalid value.
///
/// is null. -or- is zero.
///
/// is neither of type , nor of a type such as that can be converted to type .
// Token: 0x06002D3D RID: 11581 RVA: 0x00093878 File Offset: 0x00091A78
public override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
{
return new EventWaitHandleAccessRule(identityReference, (EventWaitHandleRights)accessMask, type);
}
/// Searches for a matching access control rule with which the new rule can be merged. If none are found, adds the new rule.
/// The access control rule to add.
///
/// is null.
// Token: 0x06002D3E RID: 11582 RVA: 0x00093884 File Offset: 0x00091A84
[MonoTODO]
public void AddAccessRule(EventWaitHandleAccessRule rule)
{
throw new NotImplementedException();
}
/// Searches for an access control rule with the same user and (allow or deny) as the specified access rule, and with compatible inheritance and propagation flags; if such a rule is found, the rights contained in the specified access rule are removed from it.
/// true if a compatible rule is found; otherwise, false.
/// An that specifies the user and to search for, and a set of inheritance and propagation flags that a matching rule, if found, must be compatible with. Specifies the rights to remove from the compatible rule, if found.
///
/// is null.
// Token: 0x06002D3F RID: 11583 RVA: 0x0009388C File Offset: 0x00091A8C
[MonoTODO]
public bool RemoveAccessRule(EventWaitHandleAccessRule rule)
{
throw new NotImplementedException();
}
/// Searches for all access control rules with the same user and (allow or deny) as the specified rule and, if found, removes them.
/// An that specifies the user and to search for. Any rights specified by this rule are ignored.
///
/// is null.
// Token: 0x06002D40 RID: 11584 RVA: 0x00093894 File Offset: 0x00091A94
[MonoTODO]
public void RemoveAccessRuleAll(EventWaitHandleAccessRule rule)
{
throw new NotImplementedException();
}
/// Searches for an access control rule that exactly matches the specified rule and, if found, removes it.
/// The to remove.
///
/// is null.
// Token: 0x06002D41 RID: 11585 RVA: 0x0009389C File Offset: 0x00091A9C
[MonoTODO]
public void RemoveAccessRuleSpecific(EventWaitHandleAccessRule rule)
{
throw new NotImplementedException();
}
/// Removes all access control rules with the same user as the specified rule, regardless of , and then adds the specified rule.
/// The to add. The user specified by this rule determines the rules to remove before this rule is added.
///
/// is null.
// Token: 0x06002D42 RID: 11586 RVA: 0x000938A4 File Offset: 0x00091AA4
[MonoTODO]
public void ResetAccessRule(EventWaitHandleAccessRule rule)
{
throw new NotImplementedException();
}
/// Removes all access control rules with the same user and (allow or deny) as the specified rule, and then adds the specified rule.
/// The to add. The user and of this rule determine the rules to remove before this rule is added.
///
/// is null.
// Token: 0x06002D43 RID: 11587 RVA: 0x000938AC File Offset: 0x00091AAC
[MonoTODO]
public void SetAccessRule(EventWaitHandleAccessRule rule)
{
throw new NotImplementedException();
}
/// Creates a new audit rule, specifying the user the rule applies to, the access rights to audit, and the outcome that triggers the audit rule.
/// An object representing the specified audit rule for the specified user. The return type of the method is the base class, , but the return value can be cast safely to the derived class.
/// An that identifies the user or group the rule applies to.
/// A bitwise combination of values specifying the access rights to audit, cast to an integer.
/// Meaningless for named wait handles, because they have no hierarchy.
/// Meaningless for named wait handles, because they have no hierarchy.
/// Meaningless for named wait handles, because they have no hierarchy.
/// A bitwise combination of values specifying whether to audit successful access, failed access, or both.
///
/// , , , or specifies an invalid value.
///
/// is null. -or- is zero.
///
/// is neither of type , nor of a type such as that can be converted to type .
// Token: 0x06002D44 RID: 11588 RVA: 0x000938B4 File Offset: 0x00091AB4
public override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
{
return new EventWaitHandleAuditRule(identityReference, (EventWaitHandleRights)accessMask, flags);
}
/// Searches for an audit rule with which the new rule can be merged. If none are found, adds the new rule.
/// The audit rule to add. The user specified by this rule determines the search.
///
/// is null.
// Token: 0x06002D45 RID: 11589 RVA: 0x000938C0 File Offset: 0x00091AC0
[MonoTODO]
public void AddAuditRule(EventWaitHandleAuditRule rule)
{
throw new NotImplementedException();
}
/// Searches for an audit rule with the same user as the specified rule, and with compatible inheritance and propagation flags; if a compatible rule is found, the rights contained in the specified rule are removed from it.
/// true if a compatible rule is found; otherwise, false.
/// An that specifies the user to search for and a set of inheritance and propagation flags that a matching rule, if found, must be compatible with. Specifies the rights to remove from the compatible rule, if found.
///
/// is null.
// Token: 0x06002D46 RID: 11590 RVA: 0x000938C8 File Offset: 0x00091AC8
[MonoTODO]
public bool RemoveAuditRule(EventWaitHandleAuditRule rule)
{
throw new NotImplementedException();
}
/// Searches for all audit rules with the same user as the specified rule and, if found, removes them.
/// An that specifies the user to search for. Any rights specified by this rule are ignored.
///
/// is null.
// Token: 0x06002D47 RID: 11591 RVA: 0x000938D0 File Offset: 0x00091AD0
[MonoTODO]
public void RemoveAuditRuleAll(EventWaitHandleAuditRule rule)
{
throw new NotImplementedException();
}
/// Searches for an audit rule that exactly matches the specified rule and, if found, removes it.
/// The to remove.
///
/// is null.
// Token: 0x06002D48 RID: 11592 RVA: 0x000938D8 File Offset: 0x00091AD8
[MonoTODO]
public void RemoveAuditRuleSpecific(EventWaitHandleAuditRule rule)
{
throw new NotImplementedException();
}
/// Removes all audit rules with the same user as the specified rule, regardless of the value, and then adds the specified rule.
/// The to add. The user specified by this rule determines the rules to remove before this rule is added.
///
/// is null.
// Token: 0x06002D49 RID: 11593 RVA: 0x000938E0 File Offset: 0x00091AE0
[MonoTODO]
public void SetAuditRule(EventWaitHandleAuditRule rule)
{
throw new NotImplementedException();
}
}
}