如何使用SCardTransmit发送APDU命令 [英] How to send APDU command using SCardTransmit

查看:145
本文介绍了如何使用SCardTransmit发送APDU命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是SmartCard的新手.当前,我正在使用winscard.dll(即Win32 Api)与智能卡进行通信,现在能够连接它.但是,我在向阅读器发送APDU命令时遇到问题.我用Google搜索它,但还没有任何细节材料.

那你能帮我吗?

谢谢.

Hello All,

I am new to SmartCard. Currenty i am using winscard.dll (i.e. Win32 Api) to communicate with smart card and now able to connect it. But, i am having problem to send APDU commands to reader. I googled for it but havent got any details material on it.

So can you please help me.

Thanks.

推荐答案

您应该描述自己遇到的问题.您不知道如何编写代码,卡是否未接收到命令,是否未正确响应该命令?

MSDN 很好地解释了 [ ^ ]如何使用SCardTransmit发送命令.您必须注意参数.

也许您可以解释一下您要发送的APDU命令的类型以及问题是什么,我们可以提供更好的帮助.
You should describe what kind of problems you have. Don''t you know how to write the code, is the card not receiving the command, is it not responding properly to it?

MSDN explains pretty well[^] how to use SCardTransmit to send commands. You have to pay attention to parameters.

Maybe if you can explain what kind of APDU command you want to send and what the problem is we could provide better help.


检查此链接:-它为我提供了很多帮助.它可能比msdn帮助更好.

http://pcsclite.alioth.debian.org/api/group__API.html#ga18f33eebb45d9e0d2a091ca7a0511d26 ^ ]
Check this link:- It provided me a lot of help.. it may probably be better than msdn help

http://pcsclite.alioth.debian.org/api/group__API.html#ga18f33eebb45d9e0d2a091ca7a0511d26[^]


这篇关于如何使用SCardTransmit发送APDU命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆