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