Class DicomClientFactory
Inheritance
System.Object
DicomClientFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FellowOakDicom.Network.Client
Assembly: fo-dicom.core.dll
Syntax
public static class DicomClientFactory
Methods
Create(String, Int32, ITlsInitiator, String, String)
Initializes an instance of DicomClient out of DI-container.
Declaration
public static IDicomClient Create(string host, int port, ITlsInitiator tlsInitiator, string callingAe, string calledAe)
Parameters
Type | Name | Description |
---|---|---|
System.String | host | DICOM host. |
System.Int32 | port | Port. |
ITlsInitiator | tlsInitiator | The handler to initialte TLS security, if null then no TLS is enabled. |
System.String | callingAe | Calling Application Entity Title. |
System.String | calledAe | Called Application Entity Title. |
Returns
Type | Description |
---|---|
IDicomClient |
Create(String, Int32, Boolean, String, String)
Initializes an instance of DicomClient.
Declaration
public static IDicomClient Create(string host, int port, bool useTls, string callingAe, string calledAe)
Parameters
Type | Name | Description |
---|---|---|
System.String | host | DICOM host. |
System.Int32 | port | Port. |
System.Boolean | useTls | True if TLS security should be enabled, false otherwise. |
System.String | callingAe | Calling Application Entity Title. |
System.String | calledAe | Called Application Entity Title. |
Returns
Type | Description |
---|---|
IDicomClient |