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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using System.Runtime.InteropServices;

namespace Ex10_05
{
    public partial class Form1 : Form
    {

         public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {

        }

        private void button1_Click(object sender EventArgs e)
        {
            //初始化
            int icdev = IC.auto_init(0 9600);
            if (icdev < 0)
                MessageBox.Show(“端口初始化失败请检查接口线是否连接正确。““错误提示“MessageBoxButtons.OKMessageBoxIcon.Information);
            int md = IC.setsc_md(icdev 1); //设备密码格式
     

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-04-06 13:10  Ex10_05\
     目录           0  2010-04-06 13:10  Ex10_05\bin\
     目录           0  2010-04-06 13:10  Ex10_05\bin\Debug\
     文件       24576  2007-07-11 11:32  Ex10_05\bin\Debug\Ex13_05.exe
     文件       26112  2007-07-11 11:32  Ex10_05\bin\Debug\Ex13_05.pdb
     文件        5632  2007-07-11 11:32  Ex10_05\bin\Debug\Ex13_05.vshost.exe
     文件      126976  2007-07-11 11:32  Ex10_05\bin\Debug\Mwic_32.dll
     文件        3307  2007-07-11 11:32  Ex10_05\Ex13_05.csproj
     文件        4908  2007-07-11 11:32  Ex10_05\Form1.cs
     文件        4640  2007-07-11 11:32  Ex10_05\Form1.Designer.cs
     文件        5814  2007-07-11 11:32  Ex10_05\Form1.resx
     目录           0  2010-04-06 13:10  Ex10_05\obj\
     目录           0  2010-04-06 13:10  Ex10_05\obj\Debug\
     文件         842  2007-07-11 11:32  Ex10_05\obj\Debug\Ex10_05.csproj.GenerateResource.Cache
     文件         180  2007-07-11 11:32  Ex10_05\obj\Debug\Ex10_05.Form1.resources
     文件         842  2007-07-11 11:32  Ex10_05\obj\Debug\Ex13_05.csproj.GenerateResource.Cache
     文件       24576  2007-07-11 11:32  Ex10_05\obj\Debug\Ex13_05.exe
     文件       26112  2007-07-11 11:32  Ex10_05\obj\Debug\Ex13_05.pdb
     文件         180  2007-07-11 11:32  Ex10_05\obj\Debug\Ex13_05.Properties.Resources.resources
     目录           0  2010-04-06 13:10  Ex10_05\obj\Debug\TempPE\
     文件        4608  2007-07-11 11:32  Ex10_05\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
     文件         268  2007-07-11 11:32  Ex10_05\obj\Ex10_05.csproj.FileList.txt
     文件         268  2007-07-11 11:32  Ex10_05\obj\Ex13_05.csproj.FileList.txt
     文件         466  2007-07-11 11:32  Ex10_05\Program.cs
     目录           0  2010-04-06 13:10  Ex10_05\Properties\
     文件        1162  2007-07-11 11:32  Ex10_05\Properties\AssemblyInfo.cs
     文件        2836  2007-07-11 11:32  Ex10_05\Properties\Resources.Designer.cs
     文件        5612  2007-07-11 11:32  Ex10_05\Properties\Resources.resx
     文件        1103  2007-07-11 11:32  Ex10_05\Properties\Settings.Designer.cs
     文件         249  2007-07-11 11:32  Ex10_05\Properties\Settings.settings
     文件         910  2007-07-11 11:32  Ex13_05.sln
............此处省略1个文件信息

评论

共有 条评论