Datalogic .NET SDK

GetModelName (Method)

 

Syntax

 

   public static String GetModelName();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Returns the terminal's product model name.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

-

-

 

 

 

 

[returns]

String

 

 

The terminal's product model name is returned on success.

[on error]

System.String.Empty

 

-

 

 

Example

 

      private void btnGetHwInfo_Click(object sender, EventArgs e)

      {

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

          listView1.Items.Add(new ListViewItem(new string[]
                           { "Model Name", Device.GetModelName() }));

       }

 

 

 

See Also

System.String, Example #025.

 

Copyright © Datalogic ADC. All Right Reserved