I am using CStoreSCP example in order to transfer data from a server to a client.
It seems working. When i am trying to extract images from the received dcm files with the posted code i am receiving the error
An exception of type 'Dicom.DicomDataException' occurred in Dicom.Core.dll but was not handled in user code
Additional information: Tag: (7fe0,0010) not found in dataset
If there is a handler for this exception, the program may be safely continued.
par \cf1 26/6/2016 11:18:19 \f1\'ec\'ec ThreadID[1068] : Sending images to STORESCP started
\par \cf2\f0 *******************************************************
\par [1068] >> : c-store request for Series C:\\KPacs\\Imagebox\\1.2.840.113619.2.38.992361096935.
113219863584\\1.2.840.113619.2.38.992361096935.19970909174702485048 initiated.
\par \cf1 [1068] >> : c-store request for PORTABLE, CHEST, Study: CHEST Series: C:\\KPacs\\Imagebox\\1.2.840.113619.2.38.992361096935.113219863584\\1.2.840.113619.2.38.992361096935.19970909174702485048 successfull.
\par \cf2 *******************************************************
\par \cf1 26/6/2016 11:18:21 \f1\'ec\'ec ThreadID[1068] : Closed.
\par Task processed successfully
\par \cf2\f0 *******************************************************
\par \cf0
\par }