public void OnReceiveAssociationRequest(DicomAssociation association)
{
String AECalled = association.CalledAE;
String AECalling = association.CallingAE;
foreach (var pc in association.PresentationContexts)
{
if (pc.AbstractSyntax == DicomUID.Verification) pc.AcceptTransferSyntaxes(AcceptedTransferSyntaxes);
else if (pc.AbstractSyntax.StorageCategory != DicomStorageCategory.None) pc.AcceptTransferSyntaxes(AcceptedImageTransferSyntaxes);
}
SendAssociationAccept(association);
}
If I've 2 AETITLE in the service or receive from 2 different device with 2 different AETITLE, I want save it in different path or execute different process.
So I must know called and calling AETITLE. But this values must be read in public DicomCStoreResponse OnCStoreRequest(DicomCStoreRequest request).
Because if I receive 200 images from 2 AETITLE or send to 2 my AETITLE at the same time, how can save the study in different storage path?
Thank you