scripts
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Security.Principal;
|
||||
|
||||
namespace System.Security.AccessControl
|
||||
{
|
||||
/// <summary>Represents a compound Access Control Entry (ACE).</summary>
|
||||
// Token: 0x020004B2 RID: 1202
|
||||
public sealed class CompoundAce : KnownAce
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.CompoundAce" /> class.</summary>
|
||||
/// <param name="flags">Contains flags that specify information about the inheritance, inheritance propagation, and auditing conditions for the new Access Control Entry (ACE).</param>
|
||||
/// <param name="accessMask">The access mask for the ACE.</param>
|
||||
/// <param name="compoundAceType">A value from the <see cref="T:System.Security.AccessControl.CompoundAceType" /> enumeration.</param>
|
||||
/// <param name="sid">The <see cref="T:System.Security.Principal.SecurityIdentifier" /> associated with the new ACE.</param>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Gets the length, in bytes, of the binary representation of the current <see cref="T:System.Security.AccessControl.CompoundAce" /> object. This length should be used before marshaling the ACL into a binary array with the <see cref="M:System.Security.AccessControl. CompoundAce.GetBinaryForm" /> method.</summary>
|
||||
/// <returns>The length, in bytes, of the binary representation of the current <see cref="T:System.Security.AccessControl. CompoundAce" /> object.</returns>
|
||||
// Token: 0x170008D1 RID: 2257
|
||||
// (get) Token: 0x06002CF2 RID: 11506 RVA: 0x00093474 File Offset: 0x00091674
|
||||
[MonoTODO]
|
||||
public override int BinaryLength
|
||||
{
|
||||
get
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the type of this <see cref="T:System.Security.AccessControl. CompoundAce" /> object.</summary>
|
||||
/// <returns>The type of this <see cref="T:System.Security.AccessControl. CompoundAce" /> object.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Marshals the contents of the <see cref="T:System.Security.AccessControl.CompoundAce" /> object into the specified byte array beginning at the specified offset.</summary>
|
||||
/// <param name="binaryForm">The byte array into which the contents of the <see cref="T:System.Security.AccessControl. CompoundAce" /> is marshaled.</param>
|
||||
/// <param name="offset">The offset at which to start marshaling.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> is negative or too high to allow the entire <see cref="T:System.Security.AccessControl. CompoundAce" /> to be copied into <paramref name="array" />.</exception>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user