The event handler receives an argument of type WiaEnumDevicesEventArgs containing data related to this event. The following WiaEnumDevicesEventArgs properties provide information specific to this event.
Property | Description |
---|---|
DeviceDesc | Gets the description of the device being enumerated. |
DeviceID | Gets the ID string for the enumerated device. |
DeviceName | Gets the name of the enumerated device. |
Stop | Enables or disables firing the EnumDevicesEvent event. |
This event will be called while enumerating the available WIA devices after calling the EnumDevices method to provide the user with information about each found device and also gives the ability to abort the enumeration process.
Refer to WiaSession.EnumDevices.