Write Following code to get Device ID
Android
string id = Android.Provider.Settings.Secure.GetString(Android.App.Application.Context.ContentResolver, Android.Provider.Settings.Secure.AndroidId);
iOS
string deviceID = UIDevice.CurrentDevice.IdentifierForVendor.ToString();
No comments:
Post a Comment