Writing Ndef to NFC tag in Windows Form Application C# using ACR122U as Reader/Writer
问题 I am trying to create and write an NDEF message to an NFC tag in a Windows Form Application (written in C#) using an ACR122U NFC reader. I have created raw bytes of the NDEF message using Andreas Jakl's NDEF library. This is the C# code: var spRecord = new NdefTextRecord { Text = "1", LanguageCode = "en" }; var msg = new NdefMessage { spRecord }; string hex = BitConverter.ToString(msg.ToByteArray()); resultBox.Text = hex.Replace('-',' '); The output I get is D1 01 04 54 02 65 6E 31