×

身份证阅读器SDK使用手册

消耗积分:0 | 格式:doc | 大小:70KB | 2017-05-02

zhu尤娴ya

分享资料个

身份阅读器

1. 定义

应用函数开发包含下列文件:

termb.dll API函数的动态联接库

sdtapi.dll 安全模块通讯函数

UnPack.dll 身份证相片解码库

适用操作系统:

Windows NT: 需要NT 3.1版或以后版本

Windows: 需要 Windows 98、Windows 2000或以后版本

适用开发语言:

Visual C++ 5.0 及以后版本

Visual Basic 5.0 及以后版本

Delphi 3.0 及以后版本

PowerBuilder 6.0 及以后版本

2. 函数列表

//以下为主要API函数

int CVR_InitComm(int Port) 初始化连接;

int CVR_Authenticate() 卡认证;

int CVR_Read_Content(int active) 读卡操作。

int CVR_CloseComm() 关闭连接;

//以下为可选API函数,方便二次开发

int GetPeopleName(char *strTmp, int *strLen) 得到姓名信息

int GetPeopleSex(char *strTmp, int *strLen) 得到性别信息

int GetPeopleNation(char *strTmp, int *strLen) 得到民族信息

int GetPeopleBirthday(char *strTmp, int *strLen) 得到出生日期

int GetPeopleAddress(char *strTmp, int *strLen) 得到地址信息

int GetPeopleIDCode(char *strTmp, int *strLen) 得到身份证号信息

int GetDepartment(char *strTmp, int *strLen) 得到发证机关信息

int GetStartDate(char *strTmp, int *strLen) 得到有效开始日期

int GetEndDate(char *strTmp, int *strLen) 得到有效截止日期

int CVR_GetSAMID(char *SAMID) 得到安全模块号

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !