StartUp Example for VB.NET
'LEADDICOMNet1 is a predefined LEADDicomNet object
Private Sub TestStartUp ( )
Dim nRet As Short
'start the network 'set the temporary file path
LEADDICOMNet1.NetworkTempPath
= "d:\temp"
LEADDICOMNet1.NetworkSecurityMode
= LTDNCLib.DicomSecurityModes.DICOM_SECURE_NONE
nRet = LEADDICOMNet1.StartUp
If (nRet <> 0) Then
MessageBox.Show("Error")
End If
'do some network communication here
'...
'...
'shut down the network
LEADDICOMNet1.ShutDown ( )
End Sub