IsImplementVersion Example for C#
//LEADDICOMNet1 is a predefined LEADDicomNet object
private void TestIsImplementVersion ( )
{
string szVersion = null;
if (LEADDICOMNet1.IsImplementVersion(LEADDICOMNet1.hPDU)
== true)
{
//disable it
//display old value
szVersion = LEADDICOMNet1.GetImplementVersion(LEADDICOMNet1.hPDU);
MessageBox.Show(szVersion);
LEADDICOMNet1.SetImplementVersion(LEADDICOMNet1.hPDU,
false, szVersion);
}
else
{
//enable it
LEADDICOMNet1.SetImplementVersion(LEADDICOMNet1.hPDU,
true, "v13.0");
szVersion = LEADDICOMNet1.GetImplementVersion(LEADDICOMNet1.hPDU);
MessageBox.Show(szVersion);
}
}