private void theForm_TagFound(NFCTag Tag) { if (Tag != null) { tATR.Text = Tag.ATR; tUID.Text = Tag.UID; tType.Text = Tag.GetType().Name; } }
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; } }