Datalogic .NET SDK

GetTerminalAPIVersion (Method)

 

Syntax

 

   public static string GetTerminalAPIVersion();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Returns the version of this .Net Datalogic.API assembly.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

-

-

 

 

 

 

[returns]

string

 

If the version of this .Net Datalogic.API assembly is successfully retrieved, its value will be returned.

[on error]

System.String.Empty

 

 

 

 

Example

 

      private void btnGetHwInfo_Click(object sender, EventArgs e)

      {

          /* Get Device.GetTerminalAPIVersion() and show it into a listView control */

          listView1.Items.Add(new ListViewItem(new string[]
                           { "Terminal API Version", Device.GetTerminalAPIVersion()}));

       }

 

 

 

 

See Also

Example #025.

 

Copyright © Datalogic ADC. All Right Reserved