Exemplo n.º 1
0
        //给后传递deviceToken
        public static async void pushDeviceTokenToServie()
        {
            string url = App.BaseURL + "AppAlarm/StartedApptoken";

            Console.WriteLine("url ==" + url);
            string parama = "apptoken=" + App.deviceToken + "&" + "apptype=" + 0;

            Console.WriteLine("parama ==" + parama);
            string result = await EasyWebRequest.sendAwaitePOSTHttpWebRequest(url, parama, "");

            Console.WriteLine("result ==" + result);
        }