The following steps provide the basic information required to create an SCU:
Initialize the DICOM DLL by calling DicomNet.Startup. This must be done before any DICOM Network Operations methods are called. Please note that this only needs to be called once for each application.
Create the DICOM Network object by instantiating the DicomNet class.
Create the DICOM Associate object by instantiating the DicomAssociate class.
Initialize the newly created DICOM Associate object by calling DicomAssociate.Default, or set the object using the following class members:
To connect to an SCP, call DicomNet.SendAssociateRequest. This will generate a call to DicomNet.OnReceiveAssociateRequest on the SCP to let the SCP know an associate connection request has been received.
The SCP may accept or reject the request and respond by calling DicomNet.SendAssociateAccept or DicomNet.SendAssociateReject. This will generate a call to DicomNet.OnReceiveAssociateAccept or DicomNet.OnReceiveAssociateReject. If DicomNet.OnReceiveAssociateAccept is called, the DICOM Associate Connection has been established.
Medical Web Viewer .NET