Esempio n. 1
0
 public void Dispose()
 {
     if (mqHandler != null)
     {
         mqHandler.Dispose();
         mqHandler = null;
     }
 }
Esempio n. 2
0
        public FlagCarrierMini()
        {
            nfcHandler = new NfcHandler();

            nfcHandler.CardAdded          += NfcHandler_CardAdded;
            nfcHandler.StatusMessage      += NfcHandler_StatusMessage;
            nfcHandler.ErrorMessage       += NfcHandler_ErrorMessage;
            nfcHandler.ReceiveNdefMessage += NfcHandler_ReceiveNdefMessage;
            nfcHandler.CardHandlingDone   += NfcHandler_CardHandlingDone;
            nfcHandler.NewTagUid          += NfcHandler_NewTagUid;

            acrReader = nfcHandler.GetACRReader();

            mqHandler = new MqHandler();
        }