Class AdvancedDicomClientAssociationExtensions
- Namespace
- FellowOakDicom.Network.Client.Advanced.Association
- Assembly
- fo-dicom.core.dll
public static class AdvancedDicomClientAssociationExtensions
- Inheritance
-
AdvancedDicomClientAssociationExtensions
- Inherited Members
Methods
SendCEchoRequestAsync(IAdvancedDicomClientAssociation, DicomCEchoRequest, CancellationToken)
Sends a C-ECHO request over the provided association
public static Task<DicomCEchoResponse> SendCEchoRequestAsync(this IAdvancedDicomClientAssociation association, DicomCEchoRequest request, CancellationToken cancellationToken)
Parameters
associationIAdvancedDicomClientAssociationThe association with another AE to send to the request to
requestDicomCEchoRequestThe request to send
cancellationTokenCancellationTokenThe token that cancels the request
Returns
- Task<DicomCEchoResponse>
A single C-ECHO response
SendCFindRequestAsync(IAdvancedDicomClientAssociation, DicomCFindRequest, CancellationToken)
Sends a C-FIND request over the provided association
public static IAsyncEnumerable<DicomCFindResponse> SendCFindRequestAsync(this IAdvancedDicomClientAssociation association, DicomCFindRequest request, CancellationToken cancellationToken)
Parameters
associationIAdvancedDicomClientAssociationThe association with another AE to send to the request to
requestDicomCFindRequestThe request to send
cancellationTokenCancellationTokenThe token that cancels the request
Returns
- IAsyncEnumerable<DicomCFindResponse>
(Typically) One pending C-FIND response per SOP instance, and lastly one success C-FIND response
SendCMoveRequestAsync(IAdvancedDicomClientAssociation, DicomCMoveRequest, CancellationToken)
Sends a C-MOVE request over the provided association
public static IAsyncEnumerable<DicomCMoveResponse> SendCMoveRequestAsync(this IAdvancedDicomClientAssociation association, DicomCMoveRequest request, CancellationToken cancellationToken)
Parameters
associationIAdvancedDicomClientAssociationThe association with another AE to send to the request to
requestDicomCMoveRequestThe request to send
cancellationTokenCancellationTokenThe token that cancels the request
Returns
- IAsyncEnumerable<DicomCMoveResponse>
(Typically) One pending C-MOVE response per stored SOP instance, and lastly one success C-MOVE response
SendCStoreRequestAsync(IAdvancedDicomClientAssociation, DicomCStoreRequest, CancellationToken)
Sends a C-STORE request over the provided association
public static Task<DicomCStoreResponse> SendCStoreRequestAsync(this IAdvancedDicomClientAssociation association, DicomCStoreRequest request, CancellationToken cancellationToken)
Parameters
associationIAdvancedDicomClientAssociationThe association with another AE to send to the request to
requestDicomCStoreRequestThe request to send
cancellationTokenCancellationTokenThe token that cancels the request
Returns
- Task<DicomCStoreResponse>
A single C-STORE response