• 大小: 1.02M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-28
  • 语言: 其他
  • 标签: 其他  

资源简介

20110610162910c调用demo.rar

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Drawing;
namespace demo
{

    class Class1
    {

        //通讯方式常量
        

        //add by chenjh 2011-03-02
        public const byte CMD_INIPORT = 0X41;    //初始化端口
        public const byte CMD_CLOSPORT = 0X42;   //关闭端口
        public const byte CMD_YZCARD = 0X43;     //验证卡
        public const byte CMD_RDbase = 0X44;     //读取基本信息
        public const byte CMD_RDNEWADD = 0X45;   //读取最新地址
        public const byte CMD_RDWENZI = 0X46;    //读取文字信息
        public const byte CMD_RDbase_NOPIC = 0X47; //读取基本信息但不进行图像解码

        //dll函数 add by chenjh 2011-03-02
        [DllImport(“RdCard.dll“)]
        public static extern int UCommand1(ref byte pCmd ref  int parg0 ref int parg1 byte[] parg2);



      

    }
}

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

     文件      28672  2011-03-03 08:33  c#调用demo\DEMO\demo\bin\Debug\demo.exe

     文件      32256  2011-03-03 08:33  c#调用demo\DEMO\demo\bin\Debug\demo.pdb

     文件       5632  2005-11-11 22:25  c#调用demo\DEMO\demo\bin\Debug\demo.vshost.exe

     文件      36864  2007-05-22 08:34  c#调用demo\DEMO\demo\bin\Debug\RdCard.dll

     文件      65536  2004-09-29 13:45  c#调用demo\DEMO\demo\bin\Debug\sdtapi.dll

     文件      90112  2004-11-08 16:39  c#调用demo\DEMO\demo\bin\Debug\WltRS.dll

     文件      36352  2009-07-23 09:27  c#调用demo\DEMO\demo\bin\Release\demo.pdb

     文件        925  2011-03-02 19:27  c#调用demo\DEMO\demo\Class1.cs

     文件       3366  2011-03-02 19:24  c#调用demo\DEMO\demo\demo.csproj

     文件        535  2011-03-02 19:24  c#调用demo\DEMO\demo\demo.csproj.user

     文件      81920  2008-06-25 16:35  c#调用demo\DEMO\demo\dll\DllCom.dll

     文件     241664  2011-02-18 17:26  c#调用demo\DEMO\demo\dll\RdCard.dll

     文件      65536  2004-09-29 13:45  c#调用demo\DEMO\demo\dll\sdtapi.dll

     文件      90112  2004-11-08 16:39  c#调用demo\DEMO\demo\dll\WltRS.dll

     文件      81920  2008-06-25 16:35  c#调用demo\DEMO\demo\DllCom.dll

     文件      13957  2011-03-03 08:34  c#调用demo\DEMO\demo\Form1.cs

     文件       9633  2011-03-03 08:30  c#调用demo\DEMO\demo\Form1.Designer.cs

     文件       6008  2011-03-03 08:31  c#调用demo\DEMO\demo\Form1.resx

     文件        842  2011-03-03 08:33  c#调用demo\DEMO\demo\obj\Debug\demo.csproj.GenerateResource.Cache

     文件      28672  2011-03-03 08:33  c#调用demo\DEMO\demo\obj\Debug\demo.exe

     文件        180  2011-03-03 08:33  c#调用demo\DEMO\demo\obj\Debug\demo.Form1.resources

     文件      32256  2011-03-03 08:33  c#调用demo\DEMO\demo\obj\Debug\demo.pdb

     文件        180  2011-03-02 19:16  c#调用demo\DEMO\demo\obj\Debug\demo.Properties.Resources.resources

     文件      36864  2007-05-22 08:34  c#调用demo\DEMO\demo\obj\Debug\RdCard.dll

     文件      65536  2004-09-29 13:45  c#调用demo\DEMO\demo\obj\Debug\sdtapi.dll

     文件      90112  2004-11-08 16:39  c#调用demo\DEMO\demo\obj\Debug\WltRS.dll

     文件        510  2009-10-10 10:28  c#调用demo\DEMO\demo\obj\demo.csproj.FileList.txt

     文件        918  2011-03-03 08:34  c#调用demo\DEMO\demo\obj\demo.csproj.FileListAbsolute.txt

     文件        842  2009-07-23 09:27  c#调用demo\DEMO\demo\obj\Release\demo.csproj.GenerateResource.Cache

     文件        180  2009-07-23 09:27  c#调用demo\DEMO\demo\obj\Release\demo.Form1.resources

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

评论

共有 条评论