There is no way to obtain the serial number of a device using the SDK. The unique identifier, as the name indicates, is a string guaranteed to be unique for each device. If you need access to the serial number for some other reason (i.e. tracking devices in an enterprise environment) I'd advise checking out the iPhone Configuration utility.

http://support.apple.com/downloads/iPhone_Configuration_Utility_1_1_for_Mac_OS_X

-rob.

On Feb 4, 2009, at 11:27 AM, Clark Cox wrote:

On Wed, Feb 4, 2009 at 4:08 AM, Ankur Diyora <ankur.diy...@avinashi.com > wrote:
Hello all,
I want iPhone serial number programatically.For that i use NSString
*deviceId = [UIDevice currentDevice]
uniqueIdentifier<http://discussions.apple.com/>
;
I get deviceId but it is iPhone uniqueID(40 char). How i get correct serial
number which is given behindiPhone?

I do not believe that there is a way to get the serial number through
the API. Why do you need the serial number, and why does the
uniqueIdentifier not suffice for your needs?

--
Clark S. Cox III
clarkc...@gmail.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/wisequark%40gmail.com

This email sent to wisequ...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to