private void gcmPush_OnNotificationSucceeded(GcmNotification notification) { string token = ""; try { token = notification.RegistrationIds.First(); TokensSended.Add(token); } catch { } ContadorEnviados++; }
void apnsPush_OnNotificationSucceeded(ApnsNotification notification) { string token = ""; try { token = notification.DeviceToken; TokensSended.Add(token); } catch (Exception e) { Console.WriteLine(e.Message); } ContadorEnviados++; }