as far as i know only a rooted devices.
If you edit an textfile and change the content and then save the textfile. Are you later able to get the original content?
The same will happen here with the imei i suppose
You can just use
dim p as phone
log(p.GetDeviceId)
but not all phones have an unique id