mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 18:46:30 +01:00
16 lines
No EOL
527 B
C#
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);
|
|
}
|
|
}
|
|
} |