GetIntegrityAlgorithmTLS Example for C#

//LEADDICOMNet1 is a predefined LEADDicomNet object
private void TestGetIntegrityAlgorithmTLS ( )
{
   if (LEADDICOMNet1.GetIntegrityAlgorithmTLS(LEADDICOMNet1.hNet, (int)LTDNCLib.DicomCiphersuiteConstants.DICOM_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA) == (int)LTDNCLib.DicomMACTypeConstants.DICOM_MAC_SHA1)
      MessageBox.Show("Message authentication code in DICOM_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA is DICOM_MAC_SHA1");
}