SetCipherToIndexTLS Example for C#
//LEADDICOMNet1 is a predefined LEADDicomNet object
private void TestSetCipherToIndexTLS ( )
{
LEADDICOMNet1.SetCipherToIndexTLS(LEADDICOMNet1.hNet,
0, (int)LTDNCLib.DicomCiphersuiteConstants.DICOM_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA);
int lTest = 0;
lTest = LEADDICOMNet1.GetCipherFromIndexTLS(LEADDICOMNet1.hNet,
0);
if (lTest == (int)LTDNCLib.DicomCiphersuiteConstants.DICOM_TLS_DHE_RSA_WITH_DES_CBC_SHA)
MessageBox.Show("Cipher DICOM_TLS_DHE_RSA_WITH_DES_CBC_SHA");
}