NetSecureLinkReady Example for C#
//LEADDICOMNet1 is a predefined LEADDicomNet object
private void LEADDICOMNet1_NetSecureLinkReady(int
hNet, int nError)
{
int lTest = 0;
if (nError != (int)LTDicomKernelLib.DicomErrorCodes.DICOM_SUCCESS)
{
MessageBox.Show("Error Code is
" + LEADDICOMNet1.GetErrorSecure(hNet));
return;
}
lTest = LEADDICOMNet1.GetCiphersuiteTLS(LEADDICOMNet1.hNet);
if (lTest == (int)LTDNCLib.DicomCiphersuiteConstants.DICOM_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA)
MessageBox.Show("Ciphersuite is
DICOM_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA");
}