开发者

are there card swipe events in .net

I have a winforms application developed in .net for which I need to provide a feature to allow the user to login based on an identity card swipe. The application also provides for a login screen. The functionality required is:

  • Allow user to enter username/password and click login.
  • swipe an ID card to a smart card reader attached to the pc.

The user will take ei开发者_如何转开发ther approach for logging in. On swiping the card the system will begin validating the user.

I want to know if there is any way my .net application can get an event that is triggered by the action of swiping a card. From what I know so far (correct me if I'm wrong), it gets a key_press event. But you get that even the keyboard's buttons are pressed! ...so how do I identify that the card reader recieved a swipe?

EDIT

Im not sure if the card reader has a driver or any other utility that comes along with it that will help me in detection of event raised. It looks like a plug and play device to me. Not even sure what make and model it is.


Check out these links>

http://www.aspfree.com/c/a/.NET/Smart-Cards-in-.NET/

http://www.codeproject.com/KB/smart/SmartcardFmwk.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜