using System; namespace System.Security.AccessControl { /// Represents an Access Control Entry (ACE), and is the base class for all other ACE classes. // Token: 0x020004C6 RID: 1222 public abstract class GenericAce { // Token: 0x06002D68 RID: 11624 RVA: 0x00093A68 File Offset: 0x00091C68 internal GenericAce(InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags) { this.inheritance = inheritanceFlags; this.propagation = propagationFlags; } // Token: 0x06002D69 RID: 11625 RVA: 0x00093A80 File Offset: 0x00091C80 internal GenericAce(AceType type) { if (type <= AceType.SystemAlarmCallbackObject) { throw new ArgumentOutOfRangeException("type"); } this.ace_type = type; } /// Gets or sets the associated with this object. /// The associated with this object. // Token: 0x170008E4 RID: 2276 // (get) Token: 0x06002D6A RID: 11626 RVA: 0x00093AB0 File Offset: 0x00091CB0 // (set) Token: 0x06002D6B RID: 11627 RVA: 0x00093AB8 File Offset: 0x00091CB8 public AceFlags AceFlags { get { return this.aceflags; } set { this.aceflags = value; } } /// Gets the type of this Access Control Entry (ACE). /// The type of this ACE. // Token: 0x170008E5 RID: 2277 // (get) Token: 0x06002D6C RID: 11628 RVA: 0x00093AC4 File Offset: 0x00091CC4 public AceType AceType { get { return this.ace_type; } } /// Gets the audit information associated with this Access Control Entry (ACE). /// The audit information associated with this Access Control Entry (ACE). // Token: 0x170008E6 RID: 2278 // (get) Token: 0x06002D6D RID: 11629 RVA: 0x00093ACC File Offset: 0x00091CCC public AuditFlags AuditFlags { get { AuditFlags auditFlags = AuditFlags.None; if ((byte)(this.aceflags & AceFlags.SuccessfulAccess) != 0) { auditFlags |= AuditFlags.Success; } if ((byte)(this.aceflags & AceFlags.FailedAccess) != 0) { auditFlags |= AuditFlags.Failure; } return auditFlags; } } /// 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: 0x170008E7 RID: 2279 // (get) Token: 0x06002D6E RID: 11630 public abstract int BinaryLength { get; } /// Gets flags that specify the inheritance properties of this Access Control Entry (ACE). /// Flags that specify the inheritance properties of this ACE. // Token: 0x170008E8 RID: 2280 // (get) Token: 0x06002D6F RID: 11631 RVA: 0x00093B08 File Offset: 0x00091D08 public InheritanceFlags InheritanceFlags { get { return this.inheritance; } } /// Gets a Boolean value that specifies whether this Access Control Entry (ACE) is inherited or is set explicitly. /// true if this ACE is inherited; otherwise, false. // Token: 0x170008E9 RID: 2281 // (get) Token: 0x06002D70 RID: 11632 RVA: 0x00093B10 File Offset: 0x00091D10 [MonoTODO] public bool IsInherited { get { return false; } } /// Gets flags that specify the inheritance propagation properties of this Access Control Entry (ACE). /// Flags that specify the inheritance propagation properties of this ACE. // Token: 0x170008EA RID: 2282 // (get) Token: 0x06002D71 RID: 11633 RVA: 0x00093B14 File Offset: 0x00091D14 public PropagationFlags PropagationFlags { get { return this.propagation; } } /// Creates a deep copy of this Access Control Entry (ACE). /// The object that this method creates. // Token: 0x06002D72 RID: 11634 RVA: 0x00093B1C File Offset: 0x00091D1C [MonoTODO] public GenericAce Copy() { throw new NotImplementedException(); } /// Creates a object from the specified binary data. /// The object this method creates. /// The binary data from which to create the new object. /// The offset at which to begin unmarshaling. // Token: 0x06002D73 RID: 11635 RVA: 0x00093B24 File Offset: 0x00091D24 [MonoTODO] public static GenericAce CreateFromBinaryForm(byte[] binaryForm, int offset) { throw new NotImplementedException(); } /// Determines whether the specified object is equal to the current object. /// true if the specified object is equal to the current object; otherwise, false. /// The object to compare to the current object. // Token: 0x06002D74 RID: 11636 RVA: 0x00093B2C File Offset: 0x00091D2C [MonoTODO] public sealed override bool Equals(object o) { throw new NotImplementedException(); } /// 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: 0x06002D75 RID: 11637 [MonoTODO] public abstract void GetBinaryForm(byte[] binaryForm, int offset); /// Serves as a hash function for the class. The method is suitable for use in hashing algorithms and data structures like a hash table. /// A hash code for the current object. // Token: 0x06002D76 RID: 11638 RVA: 0x00093B34 File Offset: 0x00091D34 [MonoTODO] public sealed override int GetHashCode() { throw new NotImplementedException(); } /// Determines whether the specified objects are considered equal. /// true if the two objects are equal; otherwise, false. /// The first object to compare. /// The second to compare. // Token: 0x06002D77 RID: 11639 RVA: 0x00093B3C File Offset: 0x00091D3C [MonoTODO] public static bool operator ==(GenericAce left, GenericAce right) { throw new NotImplementedException(); } /// Determines whether the specified objects are considered unequal. /// true if the two objects are unequal; otherwise, false. /// The first object to compare. /// The second to compare. // Token: 0x06002D78 RID: 11640 RVA: 0x00093B44 File Offset: 0x00091D44 [MonoTODO] public static bool operator !=(GenericAce left, GenericAce right) { throw new NotImplementedException(); } // Token: 0x040011F8 RID: 4600 private InheritanceFlags inheritance; // Token: 0x040011F9 RID: 4601 private PropagationFlags propagation; // Token: 0x040011FA RID: 4602 private AceFlags aceflags; // Token: 0x040011FB RID: 4603 private AceType ace_type; } }