I proceeded to test with dvtk QR SCP Emulator.
I used the QueryRetrieve SCU source in Samples.Desktop.
C-MOVE works correctly.
However, C-GET does not work.
In order to execute the SaveImage(req.Dataset) of the Sample source below, an EVENT should be generated by client.OnCStoreRequest.
client = new DicomClient();
var cGetRequest = CreateCGetBySeriesUID(studyUID, serieUids.First());
client.OnCStoreRequest += (DicomCStoreRequest req) =>
{
Console.WriteLine(DateTime.Now.ToString() + " recived");
SaveImage(req.Dataset);
return new DicomCStoreResponse(req, DicomStatus.Success);
};
But there is no response.
Give me a solution.