Datalogic .NET SDK

SetUsbFnDriver (Method)

 

Syntax

 

   public static bool SetUsbFnDriver(Datalogic.API.Device.UsbClass newDriver);

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Sets the current USB function driver. Takes effect after device reboot.

See also: Control Panel > PC Connection applet

 

Parameters Table

 

Type

Parameter

Description

[in]

Datalogic.API.Device.UsbFnClass

newDriver

The new driver to load

 

 

 

 

[returns]

bool

 

True on success, or false on failure.

[on error]

None

 

 

 

 

Example

 

       bool res = Device.SetUsbFnDriver(Device.UsbFnClass.USBLAN);

 

 

 

See Also

 Device.GetUsbFnDriver

 

Copyright © Datalogic ADC. All Right Reserved