LAUREL BRIDGE

Program Class

DICOM Connectivity Framework V3.4
Basic query/retrieve service class provider example which should be run with the QuerySCU. The Query Port is hardcoded to 10104, and the Move Port is hardcoded to 10105.
Inheritance Hierarchy

SystemObject
  LaurelBridge.DCFExamples.QuerySCPCallbackProgram

Namespace:  LaurelBridge.DCFExamples.QuerySCPCallback
Assembly:  QuerySCPCallback (in QuerySCPCallback.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 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
Properties

  NameDescription
Public propertyStatic memberImageStorageDirectory
For purposes of this example, we look for images in the QueryImagesPath in the application directory which is created if it does not exist. We also prepopulate it with a few images that we know are supplied with the examples if they exist in the application directory.
Top
Methods

  NameDescription
Public methodStatic memberMain
Main entry point for QuerySCPCallback.
Top
Remarks

This example uses callback methods to handle the C-Find, C-Get, C-Move and C-Cancel DIMSE messages. See the SampleVNA example for a more full-featured example of a Query/Retrieve Service implementation.

The Query and Store servers may be run with the following commands in two different command windows:

StoreSCPExtended -p 10105
QuerySCPCallback
After the above servers are running, a FIND may be issued by this program with:
QuerySCU -p 10104 -q 0010,0010="MINER^STEPHEN"
And a MOVE may be issued by this program with: QuerySCU -p 10104 --domove -q 0020,000D=2.16.840.1.113662.4.8796818069641.798806497.93296077602350.10

See Also

Reference