• 大小: 427KB
    文件类型: .rar
    金币: 2
    下载: 0 次
    发布日期: 2024-02-04
  • 语言: C#
  • 标签: CVR100  c#  

资源简介

包含华视CVR100身份证阅读器开发SDK和说明,以及C#调用示例,驱动版本可以去官网下对应的http://www.chinaidcard.com/cxxz.html

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Runtime.InteropServices;//这是用到DllImport时候要引入的包

namespace CVR100A_U_DSDK_Demo
{
    /// 
    /// 身份证阅读类
    /// 

    class CVRSDK
    {
        [DllImport(“termb.dll“ EntryPoint = “CVR_InitComm“ CharSet = CharSet.Auto SetLastError = false)]
        public static extern int CVR_InitComm(int Port);//声明外部的标准动态库 跟Win32API是一样的
        [DllImport(“termb.dll“ EntryPoint = “CVR_Authenticate“ CharSet = CharSet.Auto SetLastError = false)]
        public static extern int CVR_Authenticate();
        [DllImport(“termb.dll“ EntryPoint = “CVR_Read_Content“ CharSet = CharSet.Auto SetLastError = false)]
        public static extern int CVR_Read_Content(int Active);
        [DllImport(“termb.dll“ EntryPoint = “CVR_CloseComm“ CharSet = CharSet.Auto SetLastError = false)]
        public static extern int CVR_CloseComm();
        [DllImport(“termb.dll“ EntryPoint = “GetPeopleName“ CharSet = CharSet.Ansi SetLastError = false)]
        public static extern unsafe int GetPeopleName(ref byte strTmp ref int strLen);
        [DllImport(“termb.dll“ EntryPoint = “GetPeopleNation“ CharSet = CharSet.Ansi SetLastError = false)]
        public static extern int GetPeopleNation(ref byte strTmp ref int strLen);
        [DllImport(“termb.dll“ EntryPoint = “GetPeopleBirthday“ CharSet = CharSet.Ansi SetLastError = false CallingConvention = CallingConvention.StdCall)]
        public static extern int GetPeopleBirthday(ref byte strTmp ref int strLen);
        [DllImport(“termb.dll“ EntryPoint = “GetPeopleAddress“ CharSet = CharSet.Ansi SetLastError = false CallingConvention = CallingConvention.StdCall)]
        public static extern int GetPeopleAddress(ref byte strTmp ref int strLen);
        [DllImport(“termb.dll“ EntryPoint = “GetPeopleIDCode“ CharSet = CharSet.Ansi SetLastError = false CallingConvention = CallingConvention.StdCall)]
        public static extern int GetPeopleIDCode(ref byte strTmp ref int strLen);
        [DllImport(“termb.dll“ EntryPoint = “GetDepartment“ CharSet = CharSet.Ansi SetLastError = false CallingConvention = CallingConvention.StdCall)]
        public static extern int GetDepartment(ref byte strTmp ref int strLen);
        [DllImport(“termb.dll“ EntryPoint = “GetStartDate“ CharSet = CharSet.Ansi SetLastError = false CallingConvention = CallingConvention.StdCall)]
        public static extern int GetStartDate(ref byte strTmp ref int strLen);
        [DllImport(“termb.dll“ EntryPoint = “GetEndDate“ CharSet = CharSet.Ansi SetLastError = false CallingConvention = CallingConvention.StdCall)]
        public static extern int GetEndDate(ref byte strTmp ref int strLen);
        [DllImport(“termb.dll“ EntryPoint = “GetPeopleSex“ CharSet = CharSet.Ansi SetLastError = false CallingConvention = CallingConvention.StdCall)]
        public static extern 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      28672  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\bin\Debug\CVR100A_U_DSDK_Demo.exe

     文件      30208  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\bin\Debug\CVR100A_U_DSDK_Demo.pdb

     文件       5632  2005-12-08 14:51  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\bin\Debug\CVR100A_U_DSDK_Demo.vshost.exe

     文件      61440  2012-09-28 14:57  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\bin\Debug\sdtapi.dll

     文件     258048  2012-09-28 15:51  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\bin\Debug\termb.dll

     文件     122880  2012-09-28 14:57  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\bin\Debug\UnPack.dll

     文件        129  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\bin\Debug\wz.txt

     文件       1024  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\bin\Debug\xp.wlt

     文件      38862  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\bin\Debug\zp.bmp

     文件       2238  2008-07-31 16:59  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\CVR.ico

     文件       3445  2008-07-31 16:59  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\CVR100A_U_DSDK_Demo.csproj

     文件        566  2008-07-31 16:59  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\CVR100A_U_DSDK_Demo.csproj.user

     文件        926  2008-12-26 15:30  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\CVR100A_U_DSDK_Demo.sln

    ..A..H.     33792  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\CVR100A_U_DSDK_Demo.suo

     文件       3571  2012-09-28 15:45  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\CVRSDK.cs

     文件       8760  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\Form1.cs

     文件      13980  2012-08-10 12:02  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\Form1.Designer.cs

     文件       9668  2012-08-10 12:02  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\Form1.resx

     文件        352  2008-07-31 16:59  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\obj\CVR100A_U_DSDK_Demo.csproj.FileList.txt

     文件       4880  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\obj\CVR100A_U_DSDK_Demo.csproj.FileListAbsolute.txt

     文件        842  2012-09-28 15:05  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\obj\Debug\CVR100A_U_DSDK_Demo.csproj.GenerateResource.Cache

     文件      28672  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\obj\Debug\CVR100A_U_DSDK_Demo.exe

     文件       2804  2012-09-28 15:05  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\obj\Debug\CVR100A_U_DSDK_Demo.Form1.resources

     文件      30208  2012-09-28 15:49  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\obj\Debug\CVR100A_U_DSDK_Demo.pdb

     文件        180  2012-09-28 15:05  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\obj\Debug\CVR100A_U_DSDK_Demo.Properties.Resources.resources

     文件       8192  2008-07-23 17:21  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\obj\Debug\TempPE\DataSet1.Designer.cs.dll

     文件       4608  2008-07-22 10:46  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\obj\Release\TempPE\Properties.Resources.Designer.cs.dll

     文件        478  2008-07-31 10:52  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\Program.cs

     文件       1204  2008-07-22 10:18  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\Properties\AssemblyInfo.cs

     文件       2860  2008-07-22 10:46  华视CVR100开发SDK说明+C#案例\demo\C#\CVR100A_U_DSDK_Demo\Properties\Resources.Designer.cs

............此处省略26个文件信息

评论

共有 条评论