NetSecureLinkReady Example for C++ 6.0 and later
void CDicomNetSink::OnNetSecureLinkReady( long hNet, long nError )
{
if(nError != DICOM_SUCCESS)
{
CString strMsg;
strMsg.Format("Error Code is %ld", m_pDlg->m_pLEADDicomNet->GetErrorSecure (hNet));
AfxMessageBox(strMsg);
return;
}
if(m_pDlg->m_pLEADDicomNet->GetCiphersuiteTLS (m_pDlg->m_pLEADDicomNet->GethNet ()) == DICOM_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA)
AfxMessageBox("Ciphersuite is DICOM_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA");
}