GetPeerEncryptionISCL Example for C++ 6.0 and later
{
CString strEncr("Sender tried to send a message with encryption algorithm: ");
if(m_pLEADDicomNet->GetPeerEncryptionISCL (m_pLEADDicomNet->GethNet ()) == DICOM_ISCL_ENCRYPT_NONE)
strEncr += "None";
else if(m_pLEADDicomNet->GetPeerEncryptionISCL (m_pLEADDicomNet->GethNet()) == DICOM_ISCL_ENCRYPT_DESCBC)
strEncr += "DES algorithm, cipher block chaining mode";
else
strEncr += "Unknown";
AfxMessageBox(strEncr);
}