public MainPage() { this.InitializeComponent(); var Validator = new PCLProyect.AppValidator(new UWPDialog()); Validator.Validate(); }
public MainPage() { this.InitializeComponent(); var Validator = new PCLProyect.AppValidator(new UWPDialog()); Validator.Device = "Android.Provider.Settings.Secure.GetString(ContentResolver, Android.Provider.Settings.Secure.AndroidId)"; Validator.Email = "email"; Validator.Password = "******"; Validator.Validate(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource // SetContentView (Resource.Layout.Main); var Validator = new PCLProyect.AppValidator(new AndroidDialog(this)); Validator.EMail = "*****@*****.**"; Validator.Password = "******"; Validator.Device = Android.Provider.Settings.Secure.GetString(ContentResolver, Android.Provider.Settings.Secure.AndroidId); Validator.Validate(); }