GenericSecurityDescriptor.BinaryLength Property

Definition

Gets the length, in bytes, of the binary representation of the current GenericSecurityDescriptor object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm(Byte[], Int32) method.

public:
 property int BinaryLength { int get(); };
public int BinaryLength { get; }
member this.BinaryLength : int
Public ReadOnly Property BinaryLength As Integer

Property Value

The length, in bytes, of the binary representation of the current GenericSecurityDescriptor object.

Applies to