Class DicomCStoreRequest
Represents a DICOM C-Store request to be sent to a C-Store SCP or a C-Store request that has been received from a C-Store SCU.
Inherited Members
Namespace: FellowOakDicom.Network
Assembly: fo-dicom.core.dll
Syntax
public sealed class DicomCStoreRequest : DicomPriorityRequest
Constructors
DicomCStoreRequest(DicomDataset)
Constructor for DICOM C-Store request received from SCU.
Declaration
public DicomCStoreRequest(DicomDataset command)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | command | DICOM Command Dataset |
Remarks
In most use cases this constructor will only be called by the library.
DicomCStoreRequest(DicomFile, DicomPriority)
Initializes DICOM C-Store request to be sent to SCP.
Declaration
public DicomCStoreRequest(DicomFile file, DicomPriority priority = DicomPriority.Medium)
Parameters
Type | Name | Description |
---|---|---|
DicomFile | file | DICOM file to be sent |
DicomPriority | priority | Priority of request |
DicomCStoreRequest(String, DicomPriority)
Initializes DICOM C-Store request to be sent to SCP.
Declaration
public DicomCStoreRequest(string fileName, DicomPriority priority = DicomPriority.Medium)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | DICOM file to be sent |
DicomPriority | priority | Priority of request |
Fields
OnResponseReceived
Delegate to be executed when the response for the DICOM C-Store request is received.
Declaration
public DicomCStoreRequest.ResponseDelegate OnResponseReceived
Field Value
Type | Description |
---|---|
DicomCStoreRequest.ResponseDelegate |
Properties
AdditionalTransferSyntaxes
Additional transfer syntaxes to propose in the association request.
DICOM dataset will be transcoded on the fly if necessary.
Declaration
public DicomTransferSyntax[] AdditionalTransferSyntaxes { get; set; }
Property Value
Type | Description |
---|---|
DicomTransferSyntax[] |
CommonServiceClassUid
Gets or sets the (optional) Common Extended Negotiation Service Class UID.
Declaration
public DicomUID CommonServiceClassUid { get; set; }
Property Value
Type | Description |
---|---|
DicomUID |
File
Gets the DICOM file associated with this DICOM C-Store request.
Declaration
public DicomFile File { get; }
Property Value
Type | Description |
---|---|
DicomFile |
OmitImplicitVrTransferSyntaxInAssociationRequest
If set, the default transfer syntax (Implicit VR Little Endian) will not be automatically proposed when associating with remote system. This should only be used in exception cases (See PS3.5 section 10.1).
Declaration
public bool OmitImplicitVrTransferSyntaxInAssociationRequest { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RelatedGeneralSopClasses
Gets or sets the (optional) Common Extended Negotiation Related General SOP Class Identification
Declaration
public List<DicomUID> RelatedGeneralSopClasses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DicomUID> |
SOPInstanceUID
Gets the SOP Instance UID of the DICOM file associated with this DICOM C-Store request.
Declaration
public DicomUID SOPInstanceUID { get; }
Property Value
Type | Description |
---|---|
DicomUID |
TransferSyntax
Gets the transfer syntax of the DICOM file associated with this DICOM C-Store request.
Declaration
public DicomTransferSyntax TransferSyntax { get; }
Property Value
Type | Description |
---|---|
DicomTransferSyntax |
Methods
PostResponse(DicomService, DicomResponse)
Internal. Executes the DICOM C-Store response callback.
Declaration
protected override void PostResponse(DicomService service, DicomResponse response)
Parameters
Type | Name | Description |
---|---|---|
DicomService | service | DICOM SCP implementation |
DicomResponse | response | Received DICOM response |