TIEPortableDevices.ActiveDeviceID
Declaration
property ActiveDeviceID: WideString;
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.
If no device is active, the result is ''.
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, '' );
Read-only
Example
// Display the active device
edtCurrentDevice.Text := IEPortableDevices.LookupDeviceFriendlyName( IEPortableDevices.ActiveDeviceID );
See Also
◼NavigateToFolderPath