|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Daniel Mueller (daniel
danm.de)
Date: Mon Oct 29 2007 - 16:20:45 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I've made PC/SC-Lite wrapper classes for C# (Mono). I need those for a
private RFID project that uses PC/SC to communicate with the reader.
You can download the sources (monodevelop project) here:
http://www.danm.de/files/src/mono/Mono-PCSClite/
I've tried to document it (by copying a lot of textual descriptions from
the original PC/SC-Lite API documentation - hope this is okay, if not
please send me an email and I'll remove it :-(
You can find the documentation here:
http://www.danm.de/docs/Mono-PCSClite/index.html
http://www.danm.de/docs/Mono-PCSClite/PCSClite/SCReader.html
(monodoc xml files are included in the source tarball)
At the moment it only works on Linux/UNIX because of SCardTransmit().
The three variables SCARD_PCI_T0, SCARD_PCI_T1 and SCARD_PCI_RAW are
pointers to structures in libpcsclite.so.*. In order to use the
pre-defined PCI structures the program opens the PCSC-library with
dlopen() and retrieves the symbols using dlsym(). On Windows systems it
has to call LoadLibrary() and GetProcAddress() instead of dlopen() and
dlsym(). Unfortunately I have no Windows at home to implement & test it.
The first entry on my TODO list is: event handlers for
SCardGetStatusChange().
If someone is interested - I'd be happy to hear.
bye,
Daniel
--
Daniel Mueller http://www.danm.de
Berlin, Germany OpenPGP: 1024D/83C50046
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]