Version Example for C#
//This example uses the predefined variable “LEADDICOMNet1”
of type “LEADDicomNet” from “LEADTOOLS Toolkit”.
private void TestVersion ( )
{
//check the Associate Class version
MessageBox.Show("Version: " + System.Convert.ToString(LEADDICOMNet1.GetVersion(LEADDICOMNet1.hPDU)));
//set the version
LEADDICOMNet1.SetVersion(LEADDICOMNet1.hPDU,
99);
MessageBox.Show("Version: " + System.Convert.ToString(LEADDICOMNet1.GetVersion(LEADDICOMNet1.hPDU)));
}