Datalogic .NET SDK

GetOSType2 (Method)

 

Syntax

 

   public static OSType GetOSType2();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Gets the OS type running on the device.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

-

-

 

 

 

 

[returns]

OSType

 

The OS type. See the Device.OSType enumeration for return values.

[on error]

 

 

 

 

 

Example

      

      private void btnGetHwInfo_Click(object sender, EventArgs e)

      {

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

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

                                  { "OS Type:", Device.GetOSType2().ToString()}));

       }

 

 

 

See Also

Device.OSType (Enum), Example #025.

 

Copyright © Datalogic ADC. All Right Reserved