Datalogic .NET SDK

GetReportedVersionsInfo (Method)

 

Syntax

 

   public static DLVersionInfo[] GetReportedVersionsInfo();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Returns various sets of version information for the terminal.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

-

-

 

 

 

 

[returns]

DLVersionInfo[]

 

An array of DLVersionInfo objects that correspond to sets of version information will be returned.  The enum VersionIndex identifies a subset of versions that will always be reported in the specified array index.  The number of versions reported will be device dependant and may include versions of subcomponents that are not identified by a VersionIndex enumerated value.

[on error]

-

 

-

 

 

Example

        

       private void btnGetReportedVI_Click(object sender, EventArgs e)

       {

            Device.DLVersionInfo[] dlv = new Device.DLVersionInfo[10];

            dlv = Device.GetReportedVersionsInfo();

            for (int i = 0; i < dlv.Length; i++)

            {

                listView1.Items.Add(new ListViewItem(new string[] {

                                    dlv[i].Label, dlv[i].Version }));

            }

       }

 

 

 

See Also

Device.DLVersionInfo (Sub-Class), Device.VersionIndex (Enum),  Example #023.

 

 

Copyright © Datalogic ADC. All Right Reserved