ImageEn, unit iexWPD

TIEPortableDevices.ActiveDeviceID

TIEPortableDevices.ActiveDeviceID


Declaration

property ActiveDeviceID : WideString; (read/write)


Description

Returns the ID of the device that is currently being read. I.e. if you have called NavigateToFolderPath then ActiveDeviceID will be the Device ID that you passed.

You can also specify a device ID to navigate to the root of that device. I.e.
ActiveDeviceID := sDevice;

Is the same as:
NavigateToFolderPath( sDevice, '' );

Will return '' if no device is active.


Example

// Display the active device
edtCurrentDevice.Text := IEPortableDevices.LookupDeviceFriendlyName( IEPortableDevices.ActiveDeviceID );