Datalogic .NET SDK
GetUsbFnDriver (Method)
Syntax
public static Datalogic.API.Device.UsbFnClass GetUsbFnDriver(Datalogic.API.Device.UsbFnState state);
Description
Gets the current USB function driver.
See also: Control Panel > PC Connection applet
Parameters Table
|
Type |
Parameter |
Description |
[in] |
state |
Are you querying for the current/active driver, or what will be loaded after the device is rebooted? |
|
|
|
|
|
[returns] |
|
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
Copyright © Datalogic ADC. All Right Reserved