예제 #1
0
 private void theForm_TagFound(NFCTag Tag)
 {
     if (Tag != null)
     {
         tATR.Text  = Tag.ATR;
         tUID.Text  = Tag.UID;
         tType.Text = Tag.GetType().Name;
     }
 }
예제 #2
0
        private void bConnect_Click(object sender, EventArgs e)
        {
            if (!NFCHandler.IsInitialized)
            {
                return;
            }

            theTag = NFCHandler.Readers[dReaders.SelectedIndex].Connect();
            if (theTag != null)
            {
                tATR.Text  = theTag.ATR;
                tUID.Text  = theTag.UID;
                tType.Text = theTag.GetType().Name;
            }
        }