文件名称:CSharpIC_M1_READ_WRITE
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-07-09
- 文件大小:
- 107kb
- 下载次数:
- 0次
- 提 供 者:
- liuzh******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
程序:C#非接触IC卡M1卡读写调试程序
适用机型:明华HRF-35,URF-R330
程序语言:C#
作者:王龙 www.sskee.com
讯思科软件出品
该程序以读写明华HRF-35,URF-R330为例,向学习非接触式IC编程的朋友们提供编程源码范例,
通过学习,深入了解.net C#调用mwrf32.dll,进一步了解M1非接触IC卡的内部数据结构。
本程序在Microsoft Visual Studio 2010环境下编写。
问与答:
1、运行程序时,提示“不安全代码只会在使用 /unsafe 编译的情况下出现”。
解决:打开项目属性(在窗口右边的解决方案资源管理器里,鼠标右键项目名称card,弹出菜单,点击属性)
在属性对话框里找到“生成”页面,常规项里勾选“允许不安全代码”,保存。
2、运行程序时,提示“对 PInvoke 函数“card!card.urf::rf_init”的调用导致堆栈不对称。原因可能是托管的 PInvoke 签名与非托管的目标签名不匹配。请检查 PInvoke 签名的调用约定和参数与非托管的目标签名是否匹配。”
解决:打开项目属性(在窗口右边的解决方案资源管理器里,鼠标右键项目名称card,弹出菜单,点击属性)
在属性对话框里找到“应用程序”页面,将目标框架选择为“。NET fr a meword 3.5 Client Profile”,保存。-Program: C# non-contact IC card M1 card reader debugger
Applicable models: Ming Wah HRF-35, URF-R330
Programming languages : C#
Author: WANG www.sskee.com
News Cisco Software Publisher
The program to read and write Minghua HRF-35, URF-R330, for example, to learn non-contact type IC programmer friends to provide programming source code examples,
Through the study, in-depth understanding. Net C# call mwrf32.dll, learn more about M1 non-contact IC card s internal data structures.
This procedure in Microsoft Visual Studio 2010 environment to prepare.
Q & A:
1, run the program, the prompt "unsafe code only when the/unsafe compiler has happened."
Solution: Open the project properties (in the window on the right solution explorer, the right project name card, pop-up menu, click Properties)
In the Properties dialog box, find the "Generate" page, where routine items checked "Allow unsafe code" to save.
2, run the program, the prompt "For PInvoke function" card
适用机型:明华HRF-35,URF-R330
程序语言:C#
作者:王龙 www.sskee.com
讯思科软件出品
该程序以读写明华HRF-35,URF-R330为例,向学习非接触式IC编程的朋友们提供编程源码范例,
通过学习,深入了解.net C#调用mwrf32.dll,进一步了解M1非接触IC卡的内部数据结构。
本程序在Microsoft Visual Studio 2010环境下编写。
问与答:
1、运行程序时,提示“不安全代码只会在使用 /unsafe 编译的情况下出现”。
解决:打开项目属性(在窗口右边的解决方案资源管理器里,鼠标右键项目名称card,弹出菜单,点击属性)
在属性对话框里找到“生成”页面,常规项里勾选“允许不安全代码”,保存。
2、运行程序时,提示“对 PInvoke 函数“card!card.urf::rf_init”的调用导致堆栈不对称。原因可能是托管的 PInvoke 签名与非托管的目标签名不匹配。请检查 PInvoke 签名的调用约定和参数与非托管的目标签名是否匹配。”
解决:打开项目属性(在窗口右边的解决方案资源管理器里,鼠标右键项目名称card,弹出菜单,点击属性)
在属性对话框里找到“应用程序”页面,将目标框架选择为“。NET fr a meword 3.5 Client Profile”,保存。-Program: C# non-contact IC card M1 card reader debugger
Applicable models: Ming Wah HRF-35, URF-R330
Programming languages : C#
Author: WANG www.sskee.com
News Cisco Software Publisher
The program to read and write Minghua HRF-35, URF-R330, for example, to learn non-contact type IC programmer friends to provide programming source code examples,
Through the study, in-depth understanding. Net C# call mwrf32.dll, learn more about M1 non-contact IC card s internal data structures.
This procedure in Microsoft Visual Studio 2010 environment to prepare.
Q & A:
1, run the program, the prompt "unsafe code only when the/unsafe compiler has happened."
Solution: Open the project properties (in the window on the right solution explorer, the right project name card, pop-up menu, click Properties)
In the Properties dialog box, find the "Generate" page, where routine items checked "Allow unsafe code" to save.
2, run the program, the prompt "For PInvoke function" card
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C#非接触IC卡M1卡读写调试源代码(适用机型明华HRF-35,URF-R330)\说明.txt
............................................................\card\Properties\AssemblyInfo.cs
............................................................\....\..........\Resources.resx
............................................................\....\..........\Resources.Designer.cs
............................................................\....\..........\Settings.settings
............................................................\....\..........\Settings.Designer.cs
............................................................\....\Form1.cs
............................................................\....\Form1.Designer.cs
............................................................\....\Program.cs
............................................................\....\card.csproj
............................................................\....\bin\Debug\card.vshost.exe.manifest
............................................................\....\...\.....\card.vshost.exe
............................................................\....\...\.....\card.exe
............................................................\....\...\.....\card.pdb
............................................................\....\...\.....\mwrf32.dll
............................................................\....\...\.....\card.exe.config
............................................................\....\...\.....\card.vshost.exe.config
............................................................\....\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll
............................................................\....\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
............................................................\....\...\...\.....\card.Form1.resources
............................................................\....\...\...\.....\card.Properties.Resources.resources
............................................................\....\...\...\.....\GenerateResource.read.1.tlog
............................................................\....\...\...\.....\GenerateResource.write.1.tlog
............................................................\....\...\...\.....\card.exe
............................................................\....\...\...\.....\card.csproj.FileListAbsolute.txt
............................................................\....\...\...\.....\DesignTimeResolveAssemblyReferences.cache
............................................................\....\...\...\.....\GenerateResource-ResGen.read.1.tlog
............................................................\....\...\...\.....\GenerateResource-ResGen.write.1.tlog
............................................................\....\...\...\.....\card.pdb
............................................................\....\card.sln
............................................................\....\card.suo
............................................................\....\Form1.resx
............................................................\....\urf.cs
............................................................\....\app.config
............................................................\....\obj\x86\Debug\TempPE
............................................................\....\...\...\Debug
............................................................\....\bin\Debug
............................................................\....\obj\x86
............................................................\....\Properties
............................................................\....\bin
............................................................\....\obj
............................................................\card
C#非接触IC卡M1卡读写调试源代码(适用机型明华HRF-35,URF-R330)