GenericAce Class
.NET Framework 4.5
Represents an Access Control Entry (ACE), and is the base class for all other ACE classes.
System.Object
System.Security.AccessControl.GenericAce
System.Security.AccessControl.CustomAce
System.Security.AccessControl.KnownAce
System.Security.AccessControl.GenericAce
System.Security.AccessControl.CustomAce
System.Security.AccessControl.KnownAce
Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
The GenericAce type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AceFlags | Gets or sets the AceFlags associated with this GenericAce object. |
![]() | AceType | Gets the type of this Access Control Entry (ACE). |
![]() | AuditFlags | Gets the audit information associated with this Access Control Entry (ACE). |
![]() | BinaryLength | Gets the length, in bytes, of the binary representation of the current GenericAce object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm method. |
![]() | InheritanceFlags | Gets flags that specify the inheritance properties of this Access Control Entry (ACE). |
![]() | IsInherited | Gets a Boolean value that specifies whether this Access Control Entry (ACE) is inherited or is set explicitly. |
![]() | PropagationFlags | Gets flags that specify the inheritance propagation properties of this Access Control Entry (ACE). |
| Name | Description | |
|---|---|---|
![]() | Copy | Creates a deep copy of this Access Control Entry (ACE). |
![]() ![]() | CreateFromBinaryForm | Creates a GenericAce object from the specified binary data. |
![]() | Equals | Determines whether the specified GenericAce object is equal to the current GenericAce object. (Overrides Object.Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetBinaryForm | Marshals the contents of the GenericAce object into the specified byte array beginning at the specified offset. |
![]() | GetHashCode | Serves as a hash function for the GenericAce class. The GetHashCode method is suitable for use in hashing algorithms and data structures like a hash table. (Overrides Object.GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Determines whether the specified GenericAce objects are considered equal. |
![]() ![]() | Inequality | Determines whether the specified GenericAce objects are considered unequal. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
