SetEncryptKeyISCL Example for C++ 6.0 and later
{
COleCurrency tmpKey;
// use a 64 bit key value of 0123456789ABCDEF hex.
tmpKey.m_cur.int64 = 0x0123456789ABCDEF;
COleVariant key(tmpKey);
CString strMsg;
m_pLEADDicomNet->SetEncryptKeyISCL (m_pLEADDicomNet->GethNet (), 1, key);
m_pLEADDicomNet->SetIndexForEncryptISCL (m_pLEADDicomNet->GethNet(), 1);
strMsg.Format("Index value is: %ld", m_pLEADDicomNet->GetIndexForEncryptISCL (m_pLEADDicomNet->GethNet()));
AfxMessageBox(strMsg);
}