-
大小: 114KB文件类型: .rar金币: 2下载: 1 次发布日期: 2021-04-04
- 语言: 其他
- 标签: ACR122U MF0 Mifare Ultralight
资源简介
ACR122U 读写器 对于MF0卡的读写demo,例子程序默认读写13个字节,可以根据自己的要去进行修改
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace NFCReadWriteDemo
{
public partial class Form1 : Form
{
public int retCode hContext hCard Protocol;
public bool connActive = false;
public bool validATS;
public bool autoDet;
public byte[] SendBuff = new byte[263];
public byte[] RecvBuff = new byte[263];
public int SendLen RecvLen nBytesRet reqType Aprotocol dwProtocol cbPciLength;
public ModWinsCard.SCARD_READERSTATE RdrState;
public ModWinsCard.SCARD_IO_REQUEST pioSendRequest;
public bool bConnectedCard = false;
private System.Windows.Forms.Timer timer = null;
public Form1()
{
InitializeComponent();
}
private void ClearBuffers()
{
long indx;
for (indx = 0; indx <= 262; indx++)
{
RecvBuff[indx] = 0;
SendBuff[indx] = 0;
}
}
private int SendAPDUandDisplay(int reqType)
{
int indx;
string tmpStr;
pioSendRequest.dwProtocol = Aprotocol;
pioSendRequest.cbPciLength = 8;
// Display Apdu In
tmpStr = ““;
for (indx = 0; indx <= SendLen - 1; indx++)
{
tmpStr = tmpStr + “ “ + string.Format(“{0:X2}“ SendBuff[indx]);
}
displayOut(2 0 tmpStr);
retCode = ModWinsCard.SCardTransmit(hCard ref pioSendRequest ref SendBuff[0] SendLen ref pioSendRequest ref RecvBuff[0] ref RecvLen);
if (retCode != ModWinsCard.SCARD_S_SUCCESS)
{
displayOut(1 retCode ““);
return retCode;
}
else
{
tmpStr = ““;
switch (reqType)
{
case 0:
for (indx = (RecvLen - 2); indx <= (RecvLen - 1); indx++)
{
tmpStr = tmpStr + “ “ + string.Format(“{0:X2}“ RecvBuff[indx]);
}
if ((tmpStr).Trim() != “90 00“)
{
displayOut(4 0 “Return bytes are not acceptable.“);
}
break;
case 1:
for (indx = (RecvLen - 2); indx <= (RecvLen - 1); indx++)
{
tmpStr = tmpStr + string.Format(“{0:X2}“ RecvBuff[indx]);
}
if (tmpStr.Trim() != “90 00“)
{
t
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 28160 2014-06-25 18:25 NFCReadWriteDemo\NFCReadWriteDemo\bin\Debug\NFCReadWriteDemo.exe
文件 38400 2014-06-25 18:25 NFCReadWriteDemo\NFCReadWriteDemo\bin\Debug\NFCReadWriteDemo.pdb
文件 11600 2014-06-26 08:49 NFCReadWriteDemo\NFCReadWriteDemo\bin\Debug\NFCReadWriteDemo.vshost.exe
文件 490 2012-06-02 22:34 NFCReadWriteDemo\NFCReadWriteDemo\bin\Debug\NFCReadWriteDemo.vshost.exe.manifest
文件 28160 2014-06-27 10:32 NFCReadWriteDemo\NFCReadWriteDemo\bin\Release\NFCReadWriteDemo.exe
文件 36352 2014-06-27 10:32 NFCReadWriteDemo\NFCReadWriteDemo\bin\Release\NFCReadWriteDemo.pdb
文件 11600 2014-06-27 10:30 NFCReadWriteDemo\NFCReadWriteDemo\bin\Release\NFCReadWriteDemo.vshost.exe
文件 490 2012-06-02 22:34 NFCReadWriteDemo\NFCReadWriteDemo\bin\Release\NFCReadWriteDemo.vshost.exe.manifest
文件 17862 2014-06-27 10:32 NFCReadWriteDemo\NFCReadWriteDemo\Form1.cs
文件 12399 2014-06-27 10:31 NFCReadWriteDemo\NFCReadWriteDemo\Form1.Designer.cs
文件 5817 2014-06-27 10:31 NFCReadWriteDemo\NFCReadWriteDemo\Form1.resx
文件 23754 2008-07-29 14:40 NFCReadWriteDemo\NFCReadWriteDemo\ModWinsCard.cs
文件 3733 2014-06-25 11:57 NFCReadWriteDemo\NFCReadWriteDemo\NFCReadWriteDemo.csproj
文件 5420 2014-06-26 08:49 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6368 2014-06-25 18:25 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 729 2014-06-26 08:49 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Debug\NFCReadWriteDemo.csproj.FileListAbsolute.txt
文件 975 2014-06-25 18:25 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Debug\NFCReadWriteDemo.csproj.GenerateResource.Cache
文件 28160 2014-06-25 18:25 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Debug\NFCReadWriteDemo.exe
文件 180 2014-06-25 18:25 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Debug\NFCReadWriteDemo.Form1.resources
文件 38400 2014-06-25 18:25 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Debug\NFCReadWriteDemo.pdb
文件 180 2014-06-25 11:57 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Debug\NFCReadWriteDemo.Properties.Resources.resources
文件 5420 2014-06-26 13:36 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Release\DesignTimeResolveAssemblyReferences.cache
文件 6372 2014-06-27 10:32 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Release\DesignTimeResolveAssemblyReferencesInput.cache
文件 874 2014-06-27 10:31 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Release\NFCReadWriteDemo.csproj.FileListAbsolute.txt
文件 975 2014-06-27 10:31 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Release\NFCReadWriteDemo.csproj.GenerateResource.Cache
文件 9214 2014-06-27 10:31 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Release\NFCReadWriteDemo.csprojResolveAssemblyReference.cache
文件 28160 2014-06-27 10:32 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Release\NFCReadWriteDemo.exe
文件 180 2014-06-27 10:31 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Release\NFCReadWriteDemo.Form1.resources
文件 36352 2014-06-27 10:32 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Release\NFCReadWriteDemo.pdb
文件 180 2014-06-26 08:50 NFCReadWriteDemo\NFCReadWriteDemo\obj\x86\Release\NFCReadWriteDemo.Properties.Resources.resources
............此处省略23个文件信息
相关资源
- acr122u软件
- M1卡破解程序 Mifare 1k
- Mifare卡LockSDK V3.3酒管软件接口_160301
- MF000638-C.NET在线考试系统源码.zip
- ACR122U相关软件 RFID卡复制 数据分析
- ACR122U破解软件+驱动
- NXP公司NTAG213,Mifare UltraLight 7字节U
- ACR122读卡器常用软件
- Acr122u读写软件1.6
- crapto1gui软件
- Mifare Crypto1破解文档
- mifare卡写入程序包括0扇区
- Mifare 卡片由4 Byte UID 升級到 7 Byte UI
- MIFARE Classic Card Recovery Tools 汉化版
- 安卓手机OTG连接ACR122U的APP
- Mifare1 S50IC 和 NATG213 二种主流nfc卡简介
- PCSC+Mifare2操作工具用户NFC及ACR122
- MifareClassicTool-2.2.4
- Mifare Classic Tool2.3.1中文版
- MifareClassicTool-2.3.1.rar
- mifare卡读写操作工具
- Mifare Classic Tool 2.2.3中文版
- ACR122U 安卓亲测可用
- ACR122 SDK (PCSC) Sample Codes
- ACR122U中文开发文档
- ACR122U开发用户手册和代码
- Acr122u读写软件V1.5+1.52+1.55+破解版
- acr122u 最新IC卡单扇区读写软件,含注
- ACR122U API 中文版
- MifareClassicTool-2.2.5.apk.zip
评论
共有 条评论