Does MonoTouch have a simple mechanism for retrieving the device serial number (not UDID) of an iOS device? Is there a third-party library which I can use to obtain this?
In case it matters, I'm looking to use this functionality in an in-house application and am not concerned with the App Store approval process.
UPDATE: from iOS 8, we cannot retrieve the serial number of our iDevice.
To retrieve iphone serial number from Monotouch, you can use this technic:
For detail:
STEP 1. In my library.a, I have a class DeviceInfo, here is the implementation to get Serial number
STEP 2. In ApiDefinition.cs of my Binding Library project in Monotouch, I add this binding:
STEP 3. In my application, I import Reference to Binding library project in step 2, then add
using MyBindingProject;
...
Hope that helps. Don't hesitate if you have any question.