SetClientCertificateTLS Example for C#

//LEADDICOMNet1 is a predefined LEADDicomNet object
private void TestSetClientCertificateTLS()
{
   if (LEADDICOMNet1.SetClientCertificateTLS(LEADDICOMNet1.hNet, "c:\\cert\\client.pem", (int)LTDNCLib.DicomTLSCertType.L_TLS_FILETYPE_PEM, "") == (short)LTDicomKernelLib.DicomErrorCodes.DICOM_SUCCESS)
      MessageBox.Show("Loading client certificate succeeded");
   else
   {
      MessageBox.Show("Loading client certificate failed") ;
   }
}