Possible Duplicate:
How to get IMEI on iPhone?
How can I get the IMEI from an iPhone programmatically?
Is there a framework I have to add to my project?
Possible Duplicate:
How to get IMEI on iPhone?
How can I get the IMEI from an iPhone programmatically?
Is there a framework I have to add to my project?
NSString *imeinumber = [[NetworkController sharedInstance] IMEI];
You cannot get IMEI through public API. If you want to obtain some device identifier to use in your application you must use uniqueIdentifier property defined in UIDevice class - it is there for exactly that purpose.
NSString* uniqueID = [UIDevice currentDevice].uniqueIdentifier;
you can obtain IMEI using private frameworks - see this question, but your app will be rejected from app store then.