Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does .net 4.5 support NFC Proximity API

Tags:

c#

.net

nfc

I am trying to write a desktop app for Windows 7 using NFC technology.

I could not find any API for it.

The Proximity API - http://msdn.microsoft.com/en-us/library/windows/apps/br212057.aspx can only support Windows 8, it is disappointing.

Where can I found a API for NFC that is not tied to a manufacturer?

like image 421
Alvin Avatar asked Jul 19 '26 10:07

Alvin


1 Answers

I had success using pcsc-sharp and NDEF Library (via nuget) together with reader hardware from ACS and Mifare Tags.

pcsc-sharp only provides access to the PC/SC API (which is supported by readers from multiple manufacturers). You still have to write the whole communication flow yourself. The flow itself depends on which cards you are going to use. Mifare Classic for example provides access control, therefore you need to authenticate every block first before you read or write. Simpler cards like the Mifare Ultralight don't need this step. The cards itself often vary vastly in terms of how the memory is organized.

Recommended reading:

  • specifications at NFC-Forum
  • documentation of the cards you are using (provided by the manufacturer)
  • SDK documentation of your reader
  • examples in the pcsc-sharp repository
like image 86
pfirpfel Avatar answered Jul 21 '26 23:07

pfirpfel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!