Please note that while this example shows how an SCP can make decisions based on information presented to it, that information may not always be accurate; spoofing an IP address and/or AE title is feasible. Therefore, the end user should take the steps necessary to ensure they are operating within the confines of a secure network.
This example server implements Store SCP in order to demonstrate settings when an association is successfully established and DIMSE messages are received/sent. The StoreSCU example may be used to experiment with this test SCP using command line invocations similar to the following:
StoreSCU.exe mr-knee.dcm localhost 5555 SCP SCUor
StoreSCU.exe mr-knee.dcm localhost 5555 JPEG2000_SCP SCU
Assembly: AssociationRejection (in AssociationRejection.exe) Version: DCF34 r11232 DCF_3_4_20
public class Program
Thetype exposes the following members.
Initializes a new instance of theclass
Main entry point for AssociationRejection.