ערוך

שתף באמצעות


GenericAce Class

Definition

Represents an Access Control Entry (ACE), and is the base class for all other ACE classes.

public ref class GenericAce abstract
public abstract class GenericAce
type GenericAce = class
Public MustInherit Class GenericAce
Inheritance
GenericAce
Derived

Remarks

An ACE contains both an ACE header and a binary blob. The header contains information about the type of the ACE, various flags, and the size of the binary blob.

Properties

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(Byte[], Int32) 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).

Methods

Copy()

Creates a deep copy of this Access Control Entry (ACE).

CreateFromBinaryForm(Byte[], Int32)

Creates a GenericAce object from the specified binary data.

Equals(Object)

Determines whether the specified GenericAce object is equal to the current GenericAce object.

GetBinaryForm(Byte[], Int32)

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.

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)

Operators

Equality(GenericAce, GenericAce)

Determines whether the specified GenericAce objects are considered equal.

Inequality(GenericAce, GenericAce)

Determines whether the specified GenericAce objects are considered unequal.

Applies to