views:

300

answers:

1

Hey,

calling #*06# tells the IMEI ( International Mobile Equipment Identity ) of the device. I checked International Numbering Plans and found out that this actually is the IMEI number.

Is it possible to obtain it programmatically?

Thanks

+5  A: 

You cannot get device IMEI programmatically. However UIDevice class has "unique device identifier" property.

@property(nonatomic, readonly, retain) NSString *uniqueIdentifier

A unique device identifier is a hash value composed from various hardware identifiers such as the device’s serial number. It is guaranteed to be unique for every device but cannot publically be tied to a user account. You can use it, for example, to store high scores for a game in a central server or to control access to registered products. The unique device identifier is sometimes referred to by its abbreviation UDID.

Vladimir
Okay I already expected that. Thanks anyway.
Ghommey