SetClientCertificateTLS Example for VB.NET
'LEADDICOMNet1 is a predefined LEADDicomNet object
Private Sub TestSetClientCertificateTLS()
If LEADDICOMNet1.SetClientCertificateTLS(LEADDICOMNet1.hNet,
"c:\cert\client.pem", LTDNCLib.DicomTLSCertType.L_TLS_FILETYPE_PEM,
"") = LTDicomKernelLib.DicomErrorCodes.DICOM_SUCCESS Then
MessageBox.Show("Loading client certificate succeeded")
Else
MessageBox.Show("Loading client certificate failed")
End If
End Sub