using System;
#if ANDROID
using AndroidApp = Android.App.Application;
using static Android.Provider.Settings;
#elif IOS
using UIKit;
#endif
namespace TestPenguinCustom
{
internal static class GetDeviceInfo
{
internal static string Id
{
get
{
#if ANDROID
var context = AndroidApp.Context;
return Secure.GetString(context.ContentResolver, Secure.AndroidId);
#elif IOS
return UIDevice.CurrentDevice.IdentifierForVendor.ToString();
#endif
}
}
}
}