Click here to Skip to main content
15,916,702 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In fo-dicom,i achieved my c-store scu below,and the LeadTool as my scp.
C#
string path =DCMPath;
string[] files = System.IO.Directory.GetFiles(path);
    foreach (var s in files)
    {
    var client = new DicomClient();
    DicomCStoreRequest d = new DicomCStoreRequest(s);
            client.AddRequest(d);
            client.Send(pacsIP, pacsPort, false, "CT", pacsAET);

}

I can transmit dicom files to PACS,but i cant know whether my dicom file is completed if my network is down .

I need your help!Thanks a lot.

What I have tried:

It seems no exception when my network is down.
Posted
Updated 13-Oct-16 17:09pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900