CloseForced Example for C#

//LEADDICOMNet1 is a predefined LEADDicomNet object
private void TestCloseForced ()
{
   LEADDICOMNet1.NetworkSecurityMode = (int)LTDNCLib.DicomSecurityModes.DICOM_SECURE_ISCL;
   LEADDICOMNet1.StartUp();
   // do some communications
   LEADDICOMNet1.CloseForced(LEADDICOMNet1.hNet, true);
}