-
-
Save luiseduardohdbackup/fb73bc2cae86693980ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foo = UIDevice.CurrentDevice.UniqueIdentifier; | |
var bar = UDID (); | |
Console.WriteLine (foo + "////" + bar); | |
return true; | |
} | |
public string UDID() | |
{ | |
var device = UIDevice.CurrentDevice; | |
//if (this.IsDirectBinding) | |
//{ | |
return NSString.FromHandle (Messaging.IntPtr_objc_msgSend (device.Handle, Selector.GetHandle ("uniqueIdentifier"))); | |
//} | |
//return NSString.FromHandle (Messaging.IntPtr_objc_msgSendSuper (base.SuperHandle, Selector.GetHandle ("uniqueIdentifier"))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment