• 大小: 0.30M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 阅读器  

资源简介


操作身份证阅读器动态库应用函数的定义格式、调用方法和返回值的说明。

资源截图

代码片段和文件信息

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-03-12 09:47  C#\
     目录           0  2017-08-07 09:46  C#\CVR100A_U_DSDK_Demo\
     目录           0  2017-08-07 09:46  C#\CVR100A_U_DSDK_Demo\Backup\
     文件        2238  2008-07-31 16:59  C#\CVR100A_U_DSDK_Demo\Backup\CVR.ico
     文件        3445  2008-07-31 16:59  C#\CVR100A_U_DSDK_Demo\Backup\CVR100A_U_DSDK_Demo.csproj
     文件         566  2008-07-31 16:59  C#\CVR100A_U_DSDK_Demo\Backup\CVR100A_U_DSDK_Demo.csproj.user
     文件         926  2008-12-26 15:30  C#\CVR100A_U_DSDK_Demo\Backup\CVR100A_U_DSDK_Demo.sln
     文件       33792  2012-09-28 15:49  C#\CVR100A_U_DSDK_Demo\Backup\CVR100A_U_DSDK_Demo.suo
     文件        3571  2012-09-28 15:45  C#\CVR100A_U_DSDK_Demo\Backup\CVRSDK.cs
     文件       13980  2012-08-10 12:02  C#\CVR100A_U_DSDK_Demo\Backup\Form1.Designer.cs
     文件        8760  2012-09-28 15:49  C#\CVR100A_U_DSDK_Demo\Backup\Form1.cs
     文件        9668  2012-08-10 12:02  C#\CVR100A_U_DSDK_Demo\Backup\Form1.resx
     文件         478  2008-07-31 10:52  C#\CVR100A_U_DSDK_Demo\Backup\Program.cs
     目录           0  2017-08-07 09:46  C#\CVR100A_U_DSDK_Demo\Backup\Properties\
     文件        1204  2008-07-22 10:18  C#\CVR100A_U_DSDK_Demo\Backup\Properties\AssemblyInfo.cs
     文件        2860  2008-07-22 10:46  C#\CVR100A_U_DSDK_Demo\Backup\Properties\Resources.Designer.cs
     文件        5612  2008-07-22 10:18  C#\CVR100A_U_DSDK_Demo\Backup\Properties\Resources.resx
     文件        1115  2008-07-22 10:46  C#\CVR100A_U_DSDK_Demo\Backup\Properties\Settings.Designer.cs
     文件         249  2008-07-22 10:18  C#\CVR100A_U_DSDK_Demo\Backup\Properties\Settings.settings
     文件        2238  2008-07-31 16:59  C#\CVR100A_U_DSDK_Demo\CVR.ico
     文件        5458  2017-08-07 09:46  C#\CVR100A_U_DSDK_Demo\CVR100A_U_DSDK_Demo.csproj
     文件         575  2017-08-07 09:46  C#\CVR100A_U_DSDK_Demo\CVR100A_U_DSDK_Demo.csproj.user
     文件         927  2017-08-07 09:46  C#\CVR100A_U_DSDK_Demo\CVR100A_U_DSDK_Demo.sln
     文件       43520  2017-08-07 13:48  C#\CVR100A_U_DSDK_Demo\CVR100A_U_DSDK_Demo.suo
     文件        3571  2012-09-28 15:45  C#\CVR100A_U_DSDK_Demo\CVRSDK.cs
     文件       13980  2012-08-10 12:02  C#\CVR100A_U_DSDK_Demo\Form1.Designer.cs
     文件        8760  2012-09-28 15:49  C#\CVR100A_U_DSDK_Demo\Form1.cs
     文件        9668  2012-08-10 12:02  C#\CVR100A_U_DSDK_Demo\Form1.resx
     文件         478  2008-07-31 10:52  C#\CVR100A_U_DSDK_Demo\Program.cs
     目录           0  2016-03-12 09:47  C#\CVR100A_U_DSDK_Demo\Properties\
     文件        1204  2008-07-22 10:18  C#\CVR100A_U_DSDK_Demo\Properties\AssemblyInfo.cs
............此处省略40个文件信息

评论

共有 条评论