Search code examples
c#ios.netxamarin.iosimei

How to get IMEI from IOS device using C#


I need to read out the IMEI of an IOS device using C#...

Is this even possible in C#/Xamarin? Or is there another value that i can use to identify a device?


Solution

  • Some device identifiers are now impossible to be obtained from public APIs of iOS:

    IMSI - International Mobile Subscriber Identity (SIM card number)

    IMEI - International Mobile Equipment Identity (Device ID)

    UDID - Unique Device Identifier for Apple iDevices

    MAC address - Media Access Control Address (Network address)

    Take a look here: http://studyswift.blogspot.gr/2015/12/asidentifiermanager-get-idfv-vendor.html

    If you could use any of the provided IDs the code is in Swift but if you use C# / Xamarin it won't be difficult to convert.

    Hope this helps