GenericSecurityDescriptor.GetBinaryForm(Byte[], Int32) Method

Definition

Returns an array of byte values that represents the information contained in this GenericSecurityDescriptor object.

public:
 void GetBinaryForm(cli::array <System::Byte> ^ binaryForm, int offset);
public void GetBinaryForm (byte[] binaryForm, int offset);
member this.GetBinaryForm : byte[] * int -> unit
Public Sub GetBinaryForm (binaryForm As Byte(), offset As Integer)

Parameters

binaryForm
Byte[]

The byte array into which the contents of the GenericSecurityDescriptor is marshaled.

offset
Int32

The offset at which to start marshaling.

Exceptions

offset is negative or too high to allow the entire GenericSecurityDescriptor to be copied into array.

Applies to