NetReceiveReleaseRequest Example for C#

//This example uses the predefined variable “List2” of type “ListBox” from “.NET Framework”.
//LEADDICOMNet1 is a predefined LEADDicomNet object
private void LEADDICOMNet1_NetReceiveReleaseRequest(int hNet)
{
   string Out = null;
   //Release Request was received
   Out = "Release Request was received";
   List2.Items.Add(Out);
   LEADDICOMNet1.SendReleaseResponse(hNet);
}