我正在使用 ClearCanvas sdk 对远程 dicom 实体进行 c-echo 验证,但我总是得到的结果是“失败”。似乎它甚至没有与远程实体关联。下面是我在 vb.net 中执行此操作的代码。我做对了吗?
Dim hostname As String = "RemoteHost"
Dim ae As String = "RemoteAETitle"
Dim port As Integer = "RemotePort"
Dim lhost As String = "LocalAETitle"
Dim checkremote = New VerificationScu()
Dim result As VerificationResult = checkremote.Verify(lhost, ae, hostname, port)
If result = VerificationResult.Success Then
MessageBox.Show(result.ToString)
Else
MessageBox.Show(result.ToString)
End If
checkremote.Join(New TimeSpan(0, 0, 4))