SendData Example for C#
//LEADDICOMNet1 is a predefined LEADDicomNet object
//LEADDICOM1 is a DICOM Dataset defined outside this method
//LEADDICOM2 is a DICOM Dataset defined outside this method
private void TestSendData ()
{
//send a command set, then a data set
LEADDICOM2.InitCS((short) LTDICLib.DicomCommandSetConstants.COMMAND_C_STORE,
true);
LEADDICOM1.InitDS((int)LTDICLib.DicomClassConstants.DICOM_CLASS_CR_IMAGE_STORAGE,
0);
//client is sending data LEADDICOMNet1.SendData(LEADDICOMNet1.hNet, 1,
LEADDICOM2.hDicomDS, LEADDICOM1.hDicomDS);
}