Skip to content

Instantly share code, notes, and snippets.

@rcd
Created October 26, 2012 03:28
Show Gist options
  • Save rcd/3956696 to your computer and use it in GitHub Desktop.
Save rcd/3956696 to your computer and use it in GitHub Desktop.
[fo-dicom] DICOM C-Find SCU
var request = DicomCFindRequest.CreateStudyQuery(patientId: "12345");
request.OnResponseReceived += (DicomCFindRequest req, DicomCFindResponse rsp) => {
Console.WriteLine("C-Find Response:\n" + rsp.Dataset.WriteToString());
};
var client = new DicomClient();
client.AddRequest(request);
client.Send("127.0.0.1", 11211, false, "CALLING_AE", "CALLED_AE");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment