scripts
This commit is contained in:
@@ -0,0 +1,201 @@
|
||||
using System;
|
||||
|
||||
namespace System.Security.AccessControl
|
||||
{
|
||||
/// <summary>Represents an Access Control Entry (ACE), and is the base class for all other ACE classes.</summary>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the <see cref="T:System.Security.AccessControl.AceFlags" /> associated with this <see cref="T:System.Security.AccessControl.GenericAce" /> object.</summary>
|
||||
/// <returns>The <see cref="T:System.Security.AccessControl.AceFlags" /> associated with this <see cref="T:System.Security.AccessControl.GenericAce" /> object.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the type of this Access Control Entry (ACE).</summary>
|
||||
/// <returns>The type of this ACE.</returns>
|
||||
// Token: 0x170008E5 RID: 2277
|
||||
// (get) Token: 0x06002D6C RID: 11628 RVA: 0x00093AC4 File Offset: 0x00091CC4
|
||||
public AceType AceType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.ace_type;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the audit information associated with this Access Control Entry (ACE).</summary>
|
||||
/// <returns>The audit information associated with this Access Control Entry (ACE).</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the length, in bytes, of the binary representation of the current <see cref="T:System.Security.AccessControl.GenericAce" /> object. This length should be used before marshaling the ACL into a binary array with the <see cref="M:System.Security.AccessControl.GenericAce.GetBinaryForm" /> method.</summary>
|
||||
/// <returns>The length, in bytes, of the binary representation of the current <see cref="T:System.Security.AccessControl.GenericAce" /> object.</returns>
|
||||
// Token: 0x170008E7 RID: 2279
|
||||
// (get) Token: 0x06002D6E RID: 11630
|
||||
public abstract int BinaryLength { get; }
|
||||
|
||||
/// <summary>Gets flags that specify the inheritance properties of this Access Control Entry (ACE).</summary>
|
||||
/// <returns>Flags that specify the inheritance properties of this ACE.</returns>
|
||||
// Token: 0x170008E8 RID: 2280
|
||||
// (get) Token: 0x06002D6F RID: 11631 RVA: 0x00093B08 File Offset: 0x00091D08
|
||||
public InheritanceFlags InheritanceFlags
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.inheritance;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a Boolean value that specifies whether this Access Control Entry (ACE) is inherited or is set explicitly.</summary>
|
||||
/// <returns>true if this ACE is inherited; otherwise, false.</returns>
|
||||
// Token: 0x170008E9 RID: 2281
|
||||
// (get) Token: 0x06002D70 RID: 11632 RVA: 0x00093B10 File Offset: 0x00091D10
|
||||
[MonoTODO]
|
||||
public bool IsInherited
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets flags that specify the inheritance propagation properties of this Access Control Entry (ACE).</summary>
|
||||
/// <returns>Flags that specify the inheritance propagation properties of this ACE.</returns>
|
||||
// Token: 0x170008EA RID: 2282
|
||||
// (get) Token: 0x06002D71 RID: 11633 RVA: 0x00093B14 File Offset: 0x00091D14
|
||||
public PropagationFlags PropagationFlags
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.propagation;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates a deep copy of this Access Control Entry (ACE).</summary>
|
||||
/// <returns>The <see cref="T:System.Security.AccessControl.GenericAce" /> object that this method creates.</returns>
|
||||
// Token: 0x06002D72 RID: 11634 RVA: 0x00093B1C File Offset: 0x00091D1C
|
||||
[MonoTODO]
|
||||
public GenericAce Copy()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Security.AccessControl.GenericAce" /> object from the specified binary data.</summary>
|
||||
/// <returns>The <see cref="T:System.Security.AccessControl.GenericAce" /> object this method creates.</returns>
|
||||
/// <param name="binaryForm">The binary data from which to create the new <see cref="T:System.Security.AccessControl.GenericAce" /> object.</param>
|
||||
/// <param name="offset">The offset at which to begin unmarshaling.</param>
|
||||
// Token: 0x06002D73 RID: 11635 RVA: 0x00093B24 File Offset: 0x00091D24
|
||||
[MonoTODO]
|
||||
public static GenericAce CreateFromBinaryForm(byte[] binaryForm, int offset)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified <see cref="T:System.Security.AccessControl.GenericAce" /> object is equal to the current <see cref="T:System.Security.AccessControl.GenericAce" /> object.</summary>
|
||||
/// <returns>true if the specified <see cref="T:System.Security.AccessControl.GenericAce" /> object is equal to the current <see cref="T:System.Security.AccessControl.GenericAce" /> object; otherwise, false.</returns>
|
||||
/// <param name="o">The <see cref="T:System.Security.AccessControl.GenericAce" /> object to compare to the current <see cref="T:System.Security.AccessControl.GenericAce" /> object.</param>
|
||||
// Token: 0x06002D74 RID: 11636 RVA: 0x00093B2C File Offset: 0x00091D2C
|
||||
[MonoTODO]
|
||||
public sealed override bool Equals(object o)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>Marshals the contents of the <see cref="T:System.Security.AccessControl.GenericAce" /> 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.GenericAce" /> 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.GenericAcl" /> to be copied into <paramref name="array" />.</exception>
|
||||
// Token: 0x06002D75 RID: 11637
|
||||
[MonoTODO]
|
||||
public abstract void GetBinaryForm(byte[] binaryForm, int offset);
|
||||
|
||||
/// <summary>Serves as a hash function for the <see cref="T:System.Security.AccessControl.GenericAce" /> class. The <see cref="M:System.Security.AccessControl.GenericAce.GetHashCode" /> method is suitable for use in hashing algorithms and data structures like a hash table.</summary>
|
||||
/// <returns>A hash code for the current <see cref="T:System.Security.AccessControl.GenericAce" /> object.</returns>
|
||||
// Token: 0x06002D76 RID: 11638 RVA: 0x00093B34 File Offset: 0x00091D34
|
||||
[MonoTODO]
|
||||
public sealed override int GetHashCode()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified <see cref="T:System.Security.AccessControl.GenericAce" /> objects are considered equal.</summary>
|
||||
/// <returns>true if the two <see cref="T:System.Security.AccessControl.GenericAce" /> objects are equal; otherwise, false.</returns>
|
||||
/// <param name="left">The first <see cref="T:System.Security.AccessControl.GenericAce" /> object to compare.</param>
|
||||
/// <param name="right">The second <see cref="T:System.Security.AccessControl.GenericAce" /> to compare.</param>
|
||||
// Token: 0x06002D77 RID: 11639 RVA: 0x00093B3C File Offset: 0x00091D3C
|
||||
[MonoTODO]
|
||||
public static bool operator ==(GenericAce left, GenericAce right)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified <see cref="T:System.Security.AccessControl.GenericAce" /> objects are considered unequal.</summary>
|
||||
/// <returns>true if the two <see cref="T:System.Security.AccessControl.GenericAce" /> objects are unequal; otherwise, false.</returns>
|
||||
/// <param name="left">The first <see cref="T:System.Security.AccessControl.GenericAce" /> object to compare.</param>
|
||||
/// <param name="right">The second <see cref="T:System.Security.AccessControl.GenericAce" /> to compare.</param>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user