Datalogic .NET SDK
EnumDevices (Method)
Syntax
public static DecodeDeviceCap[] EnumDevices();
Description
Returns the capabilities of all decoding devices.
Parameters Table
|
Type |
Parameter |
Description |
[in] |
void |
|
- |
|
|
|
|
[return] |
DecodeDeviceCap[] |
|
Array of Datalogic.API.DecodeDeviceCap enumerations. Datalogic.API.Decode.EnumDevices will store the capabilities of each decoding device in one of the Datalogic.API.DecodeDeviceCap enumerations, beginning with DCD1: in the first element, and ending with DCD9: in the last element. The values stored are the same as those returned by Datalogic.API.DecodeHandle.GetDeviceCaps. |
[on error] |
FALSE |
|
Example
private void btnEnumDevices_Click(object sender, EventArgs e) { DecodeDeviceCap[] ENUM_Devicecap = new DecodeDeviceCap[9]; ENUM_Devicecap = Decode.EnumDevices(); }
|
See Also
DecodeDeviceCap (Enum), DecodeHandle.GetDeviceCaps (Method), Example #015 (3).
Copyright © Datalogic ADC. All Right Reserved