예제 #1
0
        /// <summary>
        /// Clear the Transfer Syntaxes proposed by the DICOM client making the connection to the actor name.
        /// </summary>
        /// <param name="toActorName">Actor Name that receives a connection to from DICOM Client.</param>
        /// <remarks>The caller is responsible for setting at least one new Transfer Syntax UID via the AddTransferSyntaxProposalForDicomClient()
        /// method after making this method call.</remarks>
        public void ClearTransferSyntaxProposalForDicomClient(ActorName toActorName)
        {
            //
            // Get the DICOM client within the acquisition modality that handles the DICOM association to the actor name.
            //
            DicomClient dicomClient = _acquisitionModality.GetDicomClient(toActorName);

            if (dicomClient != null)
            {
                //
                // Clear the transfer syntax proposed by the DICOM Client.
                //
                dicomClient.ClearTransferSyntaxes();
            }
        }