Datalogic .NET SDK

GetBootType (Method)

 

Syntax

 

   public static BootType GetBootType();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Returns the type of the last system reboot.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

-

-

 

 

 

 

[returns]

BootType

 

A Datalogic.API.Device.BootType enumeration is returned.

[on error]

BootType.Error

 

-

 

 

Example

   private void SetUnitDisplay()

   {

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

                    { "Boot Type", Device.GetBootType().ToString() }));

   }

 

 

 

See Also

Datalogic.API.Device.BootType (Enum), Example #022.

 

 

Copyright © Datalogic ADC. All Right Reserved