SetAuthDataISCL Example for C#
//LEADDICOMNet1 is a predefined LEADDicomNet object
private void TestSetAuthDataISCL ( )
{
//Example 1
object AuthDataISCLMessage = "Server LEAD ISCL" ;
LEADDICOMNet1.SetAuthDataISCL(LEADDICOMNet1.hNet,
ref AuthDataISCLMessage, 16);
//Example 2: Binary Data
byte[] DataArray = new byte[5];
object objDataArray = DataArray;
DataArray[0] = 0X21;
DataArray[1] = 0X14;
DataArray[2] = 0X0;
DataArray[3] = 0X45;
DataArray[4] = 0XF4;
LEADDICOMNet1.SetAuthDataISCL(LEADDICOMNet1.hNet,
ref objDataArray, 5);
}