using System;
using System.Security.Principal;
namespace System.Security.AccessControl
{
/// Represents a compound Access Control Entry (ACE).
// Token: 0x020004B2 RID: 1202
public sealed class CompoundAce : KnownAce
{
/// Initializes a new instance of the class.
/// Contains flags that specify information about the inheritance, inheritance propagation, and auditing conditions for the new Access Control Entry (ACE).
/// The access mask for the ACE.
/// A value from the enumeration.
/// The associated with the new ACE.
// Token: 0x06002CF1 RID: 11505 RVA: 0x00093440 File Offset: 0x00091640
public CompoundAce(AceFlags flags, int accessMask, CompoundAceType compoundAceType, SecurityIdentifier sid)
: base(InheritanceFlags.None, PropagationFlags.None)
{
this.compound_ace_type = compoundAceType;
base.AceFlags = flags;
base.AccessMask = accessMask;
base.SecurityIdentifier = sid;
}
/// Gets the length, in bytes, of the binary representation of the current object. This length should be used before marshaling the ACL into a binary array with the method.
/// The length, in bytes, of the binary representation of the current object.
// Token: 0x170008D1 RID: 2257
// (get) Token: 0x06002CF2 RID: 11506 RVA: 0x00093474 File Offset: 0x00091674
[MonoTODO]
public override int BinaryLength
{
get
{
throw new NotImplementedException();
}
}
/// Gets or sets the type of this object.
/// The type of this object.
// Token: 0x170008D2 RID: 2258
// (get) Token: 0x06002CF3 RID: 11507 RVA: 0x0009347C File Offset: 0x0009167C
// (set) Token: 0x06002CF4 RID: 11508 RVA: 0x00093484 File Offset: 0x00091684
public CompoundAceType CompoundAceType
{
get
{
return this.compound_ace_type;
}
set
{
this.compound_ace_type = value;
}
}
/// Marshals the contents of the object into the specified byte array beginning at the specified offset.
/// The byte array into which the contents of the is marshaled.
/// The offset at which to start marshaling.
///
/// is negative or too high to allow the entire to be copied into .
// Token: 0x06002CF5 RID: 11509 RVA: 0x00093490 File Offset: 0x00091690
[MonoTODO]
public override void GetBinaryForm(byte[] binaryForm, int offset)
{
throw new NotImplementedException();
}
// Token: 0x040011AA RID: 4522
private CompoundAceType compound_ace_type;
}
}