sharee.bike-App/TINK/TINK.Android/Model/Device/Device.cs
2021-05-13 20:16:41 +02:00

16 lines
No EOL
527 B
C#

using TINK.Model.Device;
using Xamarin.Forms;
[assembly: Dependency(typeof(TINK.Droid.Model.Device.Device))]
namespace TINK.Droid.Model.Device
{
public class Device : IDevice
{
/// <summary> Gets unitque device identifier. </summary>
/// <returns>Gets the identifies specifying device.</returns>
public string GetIdentifier()
{
return Android.Provider.Settings.Secure.GetString(Forms.Context.ContentResolver, Android.Provider.Settings.Secure.AndroidId);
}
}
}