SecurityIdentifier.GetBinaryForm(Byte[], Int32) 方法

定義

SecurityIdentifier 類別所表示的指定安全識別項 (SID) 之二進位表示,複製到位元組陣列。Copies the binary representation of the specified security identifier (SID) represented by the SecurityIdentifier class to a byte array.

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)

參數

binaryForm
Byte[]

接收複製的 SID 之位元組陣列。The byte array to receive the copied SID.

offset
Int32

用來做為 binaryForm 中的起始索引之位元組位移。The byte offset to use as the starting index in binaryForm.

適用於