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