LAUREL BRIDGE

Program Class

DICOM Connectivity Framework V3.4
Accept and/or reject associations based on AE titles and/or IP address.

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 -i mr-knee.dcm -h localhost -p 5555 -d SCP1 -s SCU99
Results in AssociationRejection Server displaying bad calling AE:...
StoreSCU.exe -i mr-knee.dcm -h localhost -p 5555 -d SCP99 -s SCU1
Results in AssociationRejection Server displaying bad called AE:...
StoreSCU.exe -i mr-knee.dcm -h localhost -p 5555 -d JPEG2000_SCP -s SCU1
Results in Association Rejected back to the SCU
StoreSCU.exe -i mr-knee.dcm -h localhost -p 5555 -d SCP1 -s SCU1
Results in successful c-store response

Inheritance Hierarchy

SystemObject
  LaurelBridge.DCFExamples.AssociationRejectionProgram

Namespace:  LaurelBridge.DCFExamples.AssociationRejection
Assembly:  AssociationRejection (in AssociationRejection.exe) Version: DCF34 r12431 DCF_3_4_38_20200923 NetFramework
Syntax

C#
public class Program

The Program type exposes the following members.

Constructors

  NameDescription
Public methodProgram
Initializes a new instance of the Program class
Top
Methods

  NameDescription
Public methodStatic memberMain
Main entry point for AssociationRejection.
Top
See Also

Reference