摘要: 操作顺序: 打开设备 卡认证 读卡 调用sdk的方法读卡等。 读卡 while (true)// { if (bgw.CancellationPending)// { e.Cancel = true; // return; } int authenticate = CVRSDK.CVR_Authen 阅读全文
posted @ 2021-04-08 18:49 马洪彪 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 操作顺序: 寻卡 读卡 读卡 while (true)// { if (bgw.CancellationPending)// { e.Cancel = true; // return; } int result = -1; result = DeKaSDK.dc_find_i_d(g_handle) 阅读全文
posted @ 2021-04-08 18:44 马洪彪 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 操作顺序: 打开设备,获取句柄 循环读卡 判断设备是否断电 判断是否读到卡 判断是否读卡成功 获取姓名、身份证号码、地址信息 接口实现: 采用Windows api的接口方式,通过dllimport引入Windows api方法。 打开设备 private int Open() { int g_ha 阅读全文
posted @ 2021-04-08 18:41 马洪彪 阅读(471) 评论(0) 推荐(0) 编辑