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
association
IAdvancedDicomClientAssociationThe association with another AE to send to the request to
request
DicomCEchoRequestThe request to send
cancellationToken
CancellationTokenThe 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
association
IAdvancedDicomClientAssociationThe association with another AE to send to the request to
request
DicomCFindRequestThe request to send
cancellationToken
CancellationTokenThe 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
association
IAdvancedDicomClientAssociationThe association with another AE to send to the request to
request
DicomCMoveRequestThe request to send
cancellationToken
CancellationTokenThe 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
association
IAdvancedDicomClientAssociationThe association with another AE to send to the request to
request
DicomCStoreRequestThe request to send
cancellationToken
CancellationTokenThe token that cancels the request
Returns
- Task<DicomCStoreResponse>
A single C-STORE response