I have a DICOM server running accepting a C-STORE. When processing each CSTORE request, I would like to find the association (connection) that is in use for this request so I can store all DICOM files received in the same location related to the association. And when the association is closed would the like to trigger an event for the files received.
Current solution works if only 1 association is open but when concurrent associations occur we do not know what association is for what.
I found the CSTORE request has no info on what association is in use and the OnAssociationClosed does not indicate which association is closing. Seems there is also no unique identifier in the association either. Looks like the DicomServer is supporting a single Association instance only.
Has anyone come across this situation before and if so how did you link the association to the request?
Kind Regards, Anthony