/// <summary> /// Connection to a remote DICOM application via TLS. /// </summary> /// <param name="assoc"></param> /// <param name="handler"></param> /// <returns></returns> public static DicomClient ConnectTLS(AssociationParameters assoc, IDicomClientHandler handler) { DicomClient client = new DicomClient(assoc, handler); client.ConnectTLS(); return(client); }
private DicomClient(AssociationParameters assoc, IDicomClientHandler handler) { _remoteEndPoint = assoc.RemoteEndPoint; _socket = null; _network = null; _closedEvent = null; _timeout = 10; _handler = handler; _assoc = assoc; }
private DicomClient(AssociationParameters assoc, IDicomClientHandler handler) { _remoteEndPoint = assoc.RemoteEndPoint; _socket = null; _network = null; _closedEvent = null; _timeout = 10; _handler = handler; _assoc = assoc; }
/// <summary> /// Connection to a remote DICOM application via TLS. /// </summary> /// <param name="assoc"></param> /// <param name="handler"></param> /// <returns></returns> public static DicomClient ConnectTLS(AssociationParameters assoc, IDicomClientHandler handler) { DicomClient client = new DicomClient(assoc, handler); client.ConnectTLS(); return client; }