Datalogic .NET SDK

GetUsbFnDriver (Method)

 

Syntax

 

   public static Datalogic.API.Device.UsbFnClass GetUsbFnDriver(Datalogic.API.Device.UsbFnState state);

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Gets the current USB function driver.

See also: Control Panel > PC Connection applet

 

Parameters Table

 

Type

Parameter

Description

[in]

Datalogic.API.Device.UsbFnState

state

Are you querying for the current/active driver, or what will be loaded after the device is rebooted?

 

 

 

 

[returns]

UsbFnClass

 

UsbFnClass value of the chosen state

[on error]

None

 

 

 

 

Example

 

       Device.UsbFnClass activeDriver = Device.GetUsbFnDriver(Device.UsbFnState.Active);

            Device.UsbFnClass rebootDriver = Device.GetUsbFnDriver(Device.UsbFnState.OnReboot);

 

 

 

See Also

 Device.SetUsbFnDriver

 

Copyright © Datalogic ADC. All Right Reserved