Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: send card information towards CardDisconnected event #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikolay-panovski
Copy link

The bug was that CardDisconnected event fired without any information passed to it. If this is used in a context where multiple readers submit information to one PC, this event did not allow recognizing which specific reader just had a card disconnected from it.

This commit passes the
var currentCard = LastConnectedCard(...)
to the "raise method" call and passes non-null CardreaderEventArgs from Cardreader.OnCardDisconnected() .

The bug was that CardDisconnected event fired without any information passed to it. If this is used in a context where multiple readers submit information to one PC, this event did not allow recognizing which specific reader just had a card disconnected from it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant