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

资源简介

读取身份证信息

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;

namespace ReadCard
{
    public class Common
    {
        /// 
        /// 图像路径
        /// 

        public static string CardPath
        {
            get
            {
                string path = Application.StartupPath + “\\Temp“;
                if (!Directory.Exists(path)) { Directory.CreateDirectory(path); }
                return path;

            }
        }
        /// 
        /// 将图片转换成字节
        /// 

        /// 
        /// 
        public static Byte[] ImageToByteArray(string 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-06-24 16:42  ReadCard\
     目录           0  2018-06-24 16:33  ReadCard\.vs\
     目录           0  2018-06-24 16:33  ReadCard\.vs\ReadCard\
     目录           0  2018-06-24 16:33  ReadCard\.vs\ReadCard\v14\
     文件       57856  2018-06-28 10:49  ReadCard\.vs\ReadCard\v14\.suo
     目录           0  2018-06-28 10:49  ReadCard\ReadCard\
     文件        2119  2018-06-24 16:47  ReadCard\ReadCard.sln
     目录           0  2018-06-24 16:38  ReadCard\ReadCard\bin\
     目录           0  2018-06-24 16:38  ReadCard\ReadCard\bin\Debug\
     目录           0  2018-06-24 16:38  ReadCard\ReadCard\bin\Release\
     目录           0  2018-06-24 16:38  ReadCard\ReadCard\bin\x86\
     目录           0  2018-06-28 10:49  ReadCard\ReadCard\bin\x86\Debug\
     文件       12288  2018-06-28 10:49  ReadCard\ReadCard\bin\x86\Debug\ReadCard.dll
     文件       26112  2018-06-28 10:49  ReadCard\ReadCard\bin\x86\Debug\ReadCard.pdb
     文件        3444  2018-06-28 10:49  ReadCard\ReadCard\bin\x86\Debug\ReadCard.xml
     文件       65536  2004-09-29 13:45  ReadCard\ReadCard\bin\x86\Debug\sdtapi.dll
     文件       90112  2007-04-06 10:12  ReadCard\ReadCard\bin\x86\Debug\WltRS.dll
     目录           0  2018-06-24 16:38  ReadCard\ReadCard\bin\x86\Release\
     文件        1728  2018-06-28 10:49  ReadCard\ReadCard\Common.cs
     目录           0  2018-06-24 16:33  ReadCard\ReadCard\obj\
     目录           0  2018-06-24 16:33  ReadCard\ReadCard\obj\Debug\
     文件        5958  2018-03-15 16:12  ReadCard\ReadCard\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         418  2018-03-15 16:02  ReadCard\ReadCard\obj\Debug\ReadCard.csproj.FileListAbsolute.txt
     文件        1643  2018-03-15 16:02  ReadCard\ReadCard\obj\Debug\ReadCard.csprojResolveAssemblyReference.cache
     文件        6656  2018-03-15 16:02  ReadCard\ReadCard\obj\Debug\ReadCard.dll
     文件       15872  2018-03-15 16:02  ReadCard\ReadCard\obj\Debug\ReadCard.pdb
     目录           0  2018-03-15 15:45  ReadCard\ReadCard\obj\Debug\TempPE\
     目录           0  2018-06-24 16:33  ReadCard\ReadCard\obj\x86\
     目录           0  2018-06-28 10:49  ReadCard\ReadCard\obj\x86\Debug\
     文件        5929  2018-06-24 17:42  ReadCard\ReadCard\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件       15872  2018-03-16 17:05  ReadCard\ReadCard\obj\x86\Debug\f770715e-e0c3-424b-9ae4-f261805e01b6_ReadCard.pdb
............此处省略122个文件信息

评论

共有 条评论