/// <summary> /// Event handler to manage the NFC event messages /// </summary> /// <param name="sender"></param> /// <param name="args"></param> private void OnMessageReceived(object sender, NFCMessageEventArgs args) { if (MessageReceived != null) { MessageReceived(this, args); } }
void OnNFCMessageReceived(object sender, NFCMessageEventArgs args) { var eventType = args.EventType; var messageData = args.Data; this.txtEventType.Text = eventType.ToString(); this.txtEventData.Text = messageData; }