GetKeyExchangeAlgorithmTLS Example for C#

//LEADDICOMNet1 is a predefined LEADDicomNet object
private void TestGetKeyExchangeAlgorithmTLS ( )
{
   if (LEADDICOMNet1.GetKeyExchangeAlgorithmTLS(LEADDICOMNet1.hNet, (int)LTDNCLib.DicomCiphersuiteConstants.DICOM_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA) == (int)LTDNCLib.DicomMACTypeConstants.DICOM_MAC_SHA1)
      MessageBox.Show("Key exchange in DICOM_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA is DICOM_MAC_SHA1");
}