Пример #1
0
        public static void SendUnregisterRequest(Unregister_Demo unreg)
        {
            string registerMethod = "RemoteAPI/UnregisterDevice";

            if (unreg.validate()) // if validation is OK and we configured all the nececcery fields, we can continue.
            {
                SendRequest(registerMethod, (Object)unreg);
            }
        }
Пример #2
0
 public static void SendUnregisterRequest(Unregister_Demo unreg)
 {
     string registerMethod = "RemoteAPI/UnregisterDevice";
     if (unreg.validate()) // if validation is OK and we configured all the nececcery fields, we can continue.
     {
         SendRequest(registerMethod, (Object)unreg);
     }
 }
Пример #3
0
 /**
  * Method is simulating an unregister request being sent to PushApps server.
 */
 public static void SendUnregisterRequest()
 {
     Unregister_Demo unregister = new Unregister_Demo();
     unregister.SecretToken = SecretToken;
     unregister.DeviceId = "This is my device ID";
     ActionsManager.SendUnregisterRequest(unregister);
 }