StartUp Example for C#
//LEADDICOMNet1 is a predefined LEADDicomNet object
private void TestStartUp ( )
{
short nRet = 0;
//start the network
//set the temporary file path
LEADDICOMNet1.NetworkTempPath
= "d:\\temp";
LEADDICOMNet1.NetworkSecurityMode
= (int)LTDNCLib.DicomSecurityModes.DICOM_SECURE_NONE;
nRet = LEADDICOMNet1.StartUp();
if (nRet != 0)
MessageBox.Show("Error");
//do some network communication here
//...
//...
//shut down the network
//LEADDICOMNet1.ShutDown()
}