DeviceID.iOS.cs 332 B

12345678910111213141516
  1. using InABox.Core;
  2. namespace InABox.Avalonia.Platform.iOS
  3. {
  4. public class iOS_DeviceId : IDeviceId
  5. {
  6. public Logger Logger { get; set; }
  7. public String GetDeviceId()
  8. {
  9. return UIDevice.CurrentDevice.IdentifierForVendor.ToString().GetHashCode().ToString("X");
  10. }
  11. }
  12. }