如何使用winscard.dll读写智能卡 [英] How to read and write smart card using winscard.dll
本文介绍了如何使用winscard.dll读写智能卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有智能卡读卡器设备。
我已经编写了使用winscard.dll检测智能卡的代码,它工作正常。
但是我不知道如何读写智能卡。
winscard.dll中是否有读写卡的功能?
i得到了一些信息
Hi all,
I have smart card reader device.
I have written code for detecting smart card using winscard.dll,it is working fine.
But i don''t know how to read and write the smart card.
Is there any function in winscard.dll for reading and writing card??
i got some information that
public static extern int SCardTransmit(
IntPtr hCard,
ref SCARD_IO_REQUEST pioSendRequest,
byte[] SendBuff,
int SendBuffLen,
ref SCARD_IO_REQUEST pioRecvRequest,
IntPtr RecvBuff, // Copy with marshal.copy to a managed array after call.
ref int RecvBuffLen);
此功能有助于写卡。
但我不知道如何使用它
我是新来的..
如果有人请分享一些信息。
提前感谢你.. :)
上帝保佑你 所有.. :)
this function helps to write in card.
but i don''t know how to use it
I am new to this..
Please share some information if anybody have.
Thank u in advance..:)
god bless u all..:)
推荐答案
这可能对你有所帮助 -
SCardTransmit函数(Windows) [ ^ ]
this might help you a little-
SCardTransmit function (Windows)[^]
这篇关于如何使用winscard.dll读写智能卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文