Returns the drive letter of the connected device.
property ConnectedDriveLetter: UnicodeString;
This read only property returns the drive letter of the device which the user has connected. If an error occurred or the user canceled the dialog, the string is empty.
Execute
JAMDialogs.TJamNetConnectionDialog