SetMutualAuthKeyISCL 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->SetMutualAuthKeyISCL (m_pLEADDicomNet->GethNet(), 1, key);
   m_pLEADDicomNet->SetIndexForMutualAuthISCL (m_pLEADDicomNet->GethNet(), 1);
   strMsg.Format("Index value is: %ld", m_pLEADDicomNet->GetIndexForMutualAuthISCL (m_pLEADDicomNet->GethNet()));
   AfxMessageBox(strMsg);
}