Esempio n. 1
0
        private void Check(string Token, bool CheckType, string card)
        {
            Handler handler = new Handler();

            run = new Runnable(() =>
            {
                HttpApi.CheckAsync(this, Token, CheckType, mac.GetMac(), card);
                handler.PostDelayed(run, 1000 * 20);
            });
            handler.Post(run);
        }
Esempio n. 2
0
        private static void Check(string Token, bool CheckType, string card)
        {
            Handler handler = new Handler();

            run = new Java.Lang.Runnable(() =>
            {
                HttpApi.CheckAsync(mResult, Token, CheckType, mac.GetMac(), card);
                handler.PostDelayed(run, 1000 * 20);
            });
            handler.Post(run);
        }