Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NfcAInterface.cs
1using Android.Nfc;
2using Android.Nfc.Tech;
4
6{
12 public class NfcAInterface(Tag Tag, NfcA Technology)
13 : NfcInterface(Tag, Technology), INfcAInterface
14 {
15 private readonly NfcA nfcA = Technology;
16
20 public Task<byte[]> GetAtqa()
21 {
22 return Task.FromResult(this.nfcA.GetAtqa() ?? throw UnableToReadDataFromDevice());
23 }
24
28 public Task<short> GetSqk()
29 {
30 return Task.FromResult(this.nfcA.Sak);
31 }
32 }
33}
NFC A interface, for communication with an NFC Tag.