I'm trying to get my unique device ID using IdentifierForVendor:
NSUuid uid = UIDevice.CurrentDevice.IdentiferForVendor;
... but I'm getting this compiler error:
Error CS1061: Type `MonoTouch.UIKit.UIDevice' does not contain a definition for 'IdentiferForVendor' ...
The Assembly Browser for UIDevice shows:
[Since(6, 0), CompilerGenerated]
public virtual NSUuid IdentifierForVendor
In my file I have:
using MonoTouch.Foundation;
using MonoTouch.UIKit;
In Options under iOS Application, I have Deployment Target set to 7.0.
What am I missing?
Thanks!