It have some difficult get the IMEI number programatically. However, if you're looking for a way to identify a particular phone, you can use the UDID (Unique Device Identifier) to do so.
NSString *UDID = [[UIDevice currentDevice] uniqueIdentifier];
and also try this for IMEI
NSString *imei = [[NetworkController sharedInstance] IMEI];