Get iOS Device Model in Xamarin

We use xamarin for development of apps at our Company Localmint.

As part of our requirement we need to get device model of iOS device user is using, after researching found few code samples that can do the task.

References:

http://stackoverflow.com/questions/10889695/how-do-i-get-the-ios-device-and-version-in-monotouch

http://stackoverflow.com/questions/14711015/how-do-i-know-uidevice-model-in-monotouch

https://en.wikipedia.org/wiki/List_of_iOS_devices

Some of the above links are not upto date.

so i have created the below helper for others can use if they need in their project.

https://github.com/rangav/iOSDeviceModel

--

Founder of http://www.thunderclient.com - Think big, Start small

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store