Actually, I wouldn't agree with the comments. It's so much easier, it's a very busy topic. Vinda has a library winscard.dll. This magic library is implementing the PC/SC protocol, which is easier to say, the data exchange protocol between the comp (PC) is a smart card (SC). The record has a huge plus, he's got to know what you're using. And this protocol is open! Thank the gods! I even found examples of delphi. The bottom line is a static challenge to procedures from this dll. And Vinda will do all the black work for you.UpdatingEspecially if they're just the key to authorization, you need to, for example, just get a card serial record, and then, for example, determine the owner and his level of access.UpdatingHere's a description of the protocol. Examples on C++. http://forum.vingrad.ru/articles/topic-192183/kw-pcsc.html I'll look for it. I'll write some more work.That's the way it works.Initiation of the rudder. Initialization of the map.Open a reading card (or reading and recording). Each item to call a function from dll, or you can use a downloaded pas. I'd write it myself. In order to blemish, I advise you to step towards the statistical challenge of the function/procedure from dll.I'm just working on a similar problem right now, if I do the results on my website myshinobi.ru. There's my soap, if anything, write.