Search Results for

    Show / Hide Table of Contents

    Class DicomClient

    Inheritance
    Object
    DicomClient
    Implements
    IDicomClient
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Dicom.Network.Client
    Assembly: cs.temp.dll.dll
    Syntax
    public class DicomClient : IDicomClient

    Constructors

    DicomClient(String, Int32, Boolean, String, String, Int32, Int32, Int32, Nullable<Int32>)

    Initializes an instance of DicomClient.

    Declaration
    public DicomClient(string host, int port, bool useTls, string callingAe, string calledAe, int associationRequestTimeoutInMs = 5000, int associationReleaseTimeoutInMs = 10000, int associationLingerTimeoutInMs = 50, int? maximumNumberOfRequestsPerAssociation = null)
    Parameters
    Type Name Description
    String host

    DICOM host.

    Int32 port

    Port.

    Boolean useTls

    True if TLS security should be enabled, false otherwise.

    String callingAe

    Calling Application Entity Title.

    String calledAe

    Called Application Entity Title.

    Int32 associationRequestTimeoutInMs

    Timeout in milliseconds for establishing association.

    Int32 associationReleaseTimeoutInMs

    Timeout in milliseconds to break off association

    Int32 associationLingerTimeoutInMs

    Timeout in milliseconds to keep open association after all requests have been processed.

    Nullable<Int32> maximumNumberOfRequestsPerAssociation

    The maximum number of DICOM requests that can be sent over a single DICOM association

    Properties

    AdditionalExtendedNegotiations

    Declaration
    public List<DicomExtendedNegotiation> AdditionalExtendedNegotiations { get; set; }
    Property Value
    Type Description
    List<DicomExtendedNegotiation>

    AdditionalPresentationContexts

    Declaration
    public List<DicomPresentationContext> AdditionalPresentationContexts { get; set; }
    Property Value
    Type Description
    List<DicomPresentationContext>

    AssociationLingerTimeoutInMs

    Declaration
    public int AssociationLingerTimeoutInMs { get; set; }
    Property Value
    Type Description
    Int32

    AssociationReleaseTimeoutInMs

    Declaration
    public int AssociationReleaseTimeoutInMs { get; set; }
    Property Value
    Type Description
    Int32

    AssociationRequestTimeoutInMs

    Declaration
    public int AssociationRequestTimeoutInMs { get; set; }
    Property Value
    Type Description
    Int32

    CalledAe

    Declaration
    public string CalledAe { get; }
    Property Value
    Type Description
    String

    CallingAe

    Declaration
    public string CallingAe { get; }
    Property Value
    Type Description
    String

    FallbackEncoding

    Declaration
    public Encoding FallbackEncoding { get; set; }
    Property Value
    Type Description
    Encoding

    Host

    Declaration
    public string Host { get; }
    Property Value
    Type Description
    String

    IsSendRequired

    Declaration
    public bool IsSendRequired { get; }
    Property Value
    Type Description
    Boolean

    Logger

    Declaration
    public Logger Logger { get; set; }
    Property Value
    Type Description
    Logger

    MaximumNumberOfRequestsPerAssociation

    Declaration
    public int? MaximumNumberOfRequestsPerAssociation { get; set; }
    Property Value
    Type Description
    Nullable<Int32>

    NetworkManager

    Declaration
    public NetworkManager NetworkManager { get; set; }
    Property Value
    Type Description
    NetworkManager

    OnCStoreRequest

    Declaration
    public DicomClientCStoreRequestHandler OnCStoreRequest { get; set; }
    Property Value
    Type Description
    DicomClientCStoreRequestHandler

    OnNEventReportRequest

    Declaration
    public DicomClientNEventReportRequestHandler OnNEventReportRequest { get; set; }
    Property Value
    Type Description
    DicomClientNEventReportRequestHandler

    Options

    Declaration
    public DicomServiceOptions Options { get; set; }
    Property Value
    Type Description
    DicomServiceOptions

    Port

    Declaration
    public int Port { get; }
    Property Value
    Type Description
    Int32

    UseTls

    Declaration
    public bool UseTls { get; }
    Property Value
    Type Description
    Boolean

    Methods

    AddRequestAsync(DicomRequest)

    Declaration
    public Task AddRequestAsync(DicomRequest dicomRequest)
    Parameters
    Type Name Description
    DicomRequest dicomRequest
    Returns
    Type Description
    Task

    AddRequestsAsync(DicomRequest[])

    Declaration
    public async Task AddRequestsAsync(params DicomRequest[] requests)
    Parameters
    Type Name Description
    DicomRequest[] requests
    Returns
    Type Description
    Task

    AddRequestsAsync(IEnumerable<DicomRequest>)

    Declaration
    public async Task AddRequestsAsync(IEnumerable<DicomRequest> dicomRequests)
    Parameters
    Type Name Description
    IEnumerable<DicomRequest> dicomRequests
    Returns
    Type Description
    Task

    NegotiateAsyncOps(Int32, Int32)

    Declaration
    public void NegotiateAsyncOps(int invoked = 0, int performed = 0)
    Parameters
    Type Name Description
    Int32 invoked
    Int32 performed

    SendAsync(CancellationToken, DicomClientCancellationMode)

    Declaration
    public async Task SendAsync(CancellationToken cancellationToken = null, DicomClientCancellationMode cancellationMode = DicomClientCancellationMode.ImmediatelyReleaseAssociation)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    DicomClientCancellationMode cancellationMode
    Returns
    Type Description
    Task

    Events

    AssociationAccepted

    Declaration
    public event EventHandler<AssociationAcceptedEventArgs> AssociationAccepted
    Event Type
    Type Description
    EventHandler<AssociationAcceptedEventArgs>

    AssociationRejected

    Declaration
    public event EventHandler<AssociationRejectedEventArgs> AssociationRejected
    Event Type
    Type Description
    EventHandler<AssociationRejectedEventArgs>

    AssociationReleased

    Declaration
    public event EventHandler AssociationReleased
    Event Type
    Type Description
    EventHandler

    RequestTimedOut

    Declaration
    public event EventHandler<RequestTimedOutEventArgs> RequestTimedOut
    Event Type
    Type Description
    EventHandler<RequestTimedOutEventArgs>

    StateChanged

    Declaration
    public event EventHandler<StateChangedEventArgs> StateChanged
    Event Type
    Type Description
    EventHandler<StateChangedEventArgs>

    Implements

    IDicomClient
    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors