Reading Mifare 1k from a WinForm application

ぃ、小莉子 提交于 2019-12-04 21:09:33

Most likely, the issue is the following:

After closing the first child form the MifareReader instance isn't disposed or otherwise knows that it no longer is required. That means that it still controls the reader and apparently this blocks access to all other instances trying to access that reader.
One such blocked instance is the MifareReader instance in the second child form you open.

Try telling the first instance that it no longer is required by closing the port via PortOpen = false;.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!