GetPeerAuthDataISCL Example for C#

//LEADDICOMNet1 is a predefined LEADDicomNet object
private void TestGetPeerAuthDataISCL ( )
{
   object buf = null;
   int nLen = 0;
   LEADDICOMNet1.GetPeerAuthDataISCL(LEADDICOMNet1.hNet, ref buf, ref nLen);
   MessageBox.Show("1st byte of data = " + ((byte[])buf)[0] + ", last byte of data = " + ((byte[])buf)[nLen - 1]);
}