跳到内容
项目
组
片段
帮助
这个项目
加载……
登录/注册
切换导航
U
ufr-mfp-examples-csharp-gui
项目
概述
细节
活动
周期分析
存储库
存储库
文件
提交
分支机构
标签
贡献者
图
比较
图表
问题
0
问题
0
列表
董事会
标签
里程碑
合并请求
0
合并请求
0
Ci / CD
Ci / CD
管道
工作
日程安排
图表
维基
维基
片段
片段
成员
成员
崩溃侧边栏
近侧栏
活动
图
图表
创建一个新问题
工作
提交
问题板
打开侧边栏
nfc-rfid-reader-sdk
ufr-mfp-examples-csharp-gui
提交
8 f06ee12
提交
8 f06ee12
撰写
2022年12月7日
通过
developer33
浏览文件
选项
浏览文件
下载
电子邮件补丁
普通的差异
1.2版-更改扇区方法更新
父
f98821ac
全部展开
隐藏空白更改
内联
并排
显示
11更改文件
与
58添加
和
7删除
+ 58
7
Form1.Designer.cs
mifare_plus_c_sharp / Form1.Designer.cs
+ 0
0
Form1.cs
mifare_plus_c_sharp / Form1.cs
+ 30
3
AssemblyInfo.cs
mifare_plus_c_sharp /属性/ AssemblyInfo.cs
+ 2
2
mifare_plus_c_sharp.exe
mifare_plus_c_sharp / bin /释放/ mifare_plus_c_sharp.exe
+ 0
0
mifare_plus_c_sharp.pdb
mifare_plus_c_sharp / bin /释放/ mifare_plus_c_sharp.pdb
+ 0
0
mifare_plus_c_sharp.csproj.FileListAbsolute.txt
…j /释放/ mifare_plus_c_sharp.csproj.FileListAbsolute.txt
+ 9
0
mifare_plus_c_sharp.csproj.GenerateResource.cache
…释放/ mifare_plus_c_sharp.csproj.GenerateResource.cache
+ 0
0
mifare_plus_c_sharp.exe
mifare_plus_c_sharp / obj /释放/ mifare_plus_c_sharp.exe
+ 0
0
mifare_plus_c_sharp.pdb
mifare_plus_c_sharp / obj /释放/ mifare_plus_c_sharp.pdb
+ 0
0
uFCoder.cs
mifare_plus_c_sharp / uFCoder.cs
+ 16
-1
ufr-lib
mifare_plus_c_sharp / ufr-lib
+ 1
-1
没有找到文件。
mifare_plus_c_sharp / Form1.Designer.cs
查看文件@
8 f06ee12
这个困难是崩溃的。
单击展开。
mifare_plus_c_sharp / Form1.cs
查看文件@
8 f06ee12
...
...
@@ -421,6 +421,10 @@ namespace mifare_plus_c_sharp
字节
[]
new_sector_key
=
新
字节
[
16
];
字节
key_index
=
0
,
sector_nr
=
0
,
auth_mode
=
0
;
字节
new_key_type
=
0
;
sector_nr
=
字节
.
解析
(
cbChangeSectorSectorNumber
.
文本
);
如果
(
rbChangeSectorKeyA
.
检查
)
...
...
@@ -437,6 +441,21 @@ namespace mifare_plus_c_sharp
返回
;
}
如果
(
rbNewSectorKeyTypeA
.
检查
)
{
new_key_type
=
(
字节
)
MIFARE_PLUS_AES_KEY_TYPE
.
MIFARE_PLUS_AES_KEY_A
;
}
其他的
如果
(
rbNewSectorKeyTypeB
.
检查
)
{
new_key_type
=
(
字节
)
MIFARE_PLUS_AES_KEY_TYPE
.
MIFARE_PLUS_AES_KEY_B
;
}
其他的
{
txtStatus
.
文本
=
"您应该选择新的密钥类型AES密钥A或B"
;
返回
;
}
如果
(
rbChangeAuthPK
.
检查
)
{
如果
(
txtChangeSectorOldKey
.
TextLength
! =
32
)
...
...
@@ -455,7 +474,7 @@ namespace mifare_plus_c_sharp
new_sector_key
=
StringToByteArray
(
txtChangeSectorNewKey
.
文本
);
状态
=
(
UInt32
)
uFCoder
.
MFP_ChangeSectorKey
_PK
(
sector_nr
,
auth_mode
,
old_sector_key
,
new_sector_key
);
状态
=
(
UInt32
)
uFCoder
.
MFP_ChangeSectorKey
Ext_PK
(
sector_nr
,
auth_mode
,
old_sector_key
,
new_sector_key
,
new_key_type
);
如果
(
状态
>
0
)
{
...
...
@@ -480,7 +499,7 @@ namespace mifare_plus_c_sharp
key_index
=
字节
.
解析
(
cbChangeSectorKeyReaderIndex
.
文本
);
状态
=
(
UInt32
)
uFCoder
.
MFP_ChangeSectorKey
(
sector_nr
,
auth_mode
,
key_index
,
new_sector_key
);
状态
=
(
UInt32
)
uFCoder
.
MFP_ChangeSectorKey
Ext
(
sector_nr
,
auth_mode
,
key_index
,
new_sector_key
,
new_key_type
);
如果
(
状态
>
0
)
{
...
...
@@ -2602,8 +2621,15 @@命名空间mifare_plus_c_sharp
tmrCardReading
.
开始
();
}
}
}
私人
无效
Form1_Load
(
对象
发送方
,
EventArgs
e
)
{
系统
.
反射
.
组装
组装
=
系统
.
反射
.
组装
.
GetExecutingAssembly
();
系统
.
诊断
.
FileVersionInfo
fvi
=
系统
.
诊断
.
FileVersionInfo
.
GetVersionInfo
(
组装
.
位置
);
字符串
版本
=
fvi
.
FileVersion
;
这
.
文本
+ =
”“
+
版本
;
}
}
}
文件末尾没有换行符
mifare_plus_c_sharp /属性/ AssemblyInfo.cs
查看文件@
8 f06ee12
...
...
@@ -32,5 +32,5 @@使用System.Runtime.InteropServices;
//你可以指定所有的值,或者你可以默认的Build和Revision number
//使用'*',如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[组装:AssemblyVersion(“1。
1
.0.0”))
[组装:AssemblyFileVersion(“1。
1
.0.0”))
[组装:AssemblyVersion(“1。
2
.0.0”))
[组装:AssemblyFileVersion(“1。
2
.0.0”))
mifare_plus_c_sharp / bin /释放/ mifare_plus_c_sharp.exe
查看文件@
8 f06ee12
此文件类型没有预览
mifare_plus_c_sharp / bin /释放/ mifare_plus_c_sharp.pdb
查看文件@
8 f06ee12
此文件类型没有预览
mifare_plus_c_sharp / obj /释放/ mifare_plus_c_sharp.csproj.FileListAbsolute.txt
查看文件@
8 f06ee12
...
...
@@ -48,3 +48,12 @@ c:\ users \ bojane \ desktop \ git\ ufr-mfp-examples-csharp-gui\mifare_plus_c_sharp\obj\R
C:\Users\bojan\Desktop\GIT\ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ obj \ \ mifare_plus_c_sharp.csproj.CoreCompileInputs.cache发布
C:\Users\bojan\Desktop\GIT\ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ obj \ \ mifare_plus_c_sharp.exe发布
C:\Users\bojan\Desktop\GIT\ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ obj \ \ mifare_plus_c_sharp.pdb发布
C:\Users\bojan\Desktop\ VS_Projects \ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ bin \ \ mifare_plus_c_sharp.exe.config发布
C:\Users\bojan\Desktop\ VS_Projects \ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ bin \ \ mifare_plus_c_sharp.exe发布
C:\Users\bojan\Desktop\ VS_Projects \ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ bin \ \ mifare_plus_c_sharp.pdb发布
C:\Users\bojan\Desktop\ VS_Projects \ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ obj \ \ mifare_plus_c_sharp.Form1.resources发布
C:\Users\bojan\Desktop\ VS_Projects \ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ obj \ \ mifare_plus_c_sharp.Properties.Resources.resources发布
C:\Users\bojan\Desktop\ VS_Projects \ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ obj \ \ mifare_plus_c_sharp.csproj.GenerateResource.cache发布
C:\Users\bojan\Desktop\ VS_Projects \ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ obj \ \ mifare_plus_c_sharp.csproj.CoreCompileInputs.cache发布
C:\Users\bojan\Desktop\ VS_Projects \ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ obj \ \ mifare_plus_c_sharp.exe发布
C:\Users\bojan\Desktop\ VS_Projects \ ufr-mfp-examples-csharp-gui \ mifare_plus_c_sharp \ obj \ \ mifare_plus_c_sharp.pdb发布
mifare_plus_c_sharp / obj /释放/ mifare_plus_c_sharp.csproj.GenerateResource.cache
查看文件@
8 f06ee12
此文件类型没有预览
mifare_plus_c_sharp / obj /释放/ mifare_plus_c_sharp.exe
查看文件@
8 f06ee12
此文件类型没有预览
mifare_plus_c_sharp / obj /释放/ mifare_plus_c_sharp.pdb
查看文件@
8 f06ee12
此文件类型没有预览
mifare_plus_c_sharp / uFCoder.cs
查看文件@
8 f06ee12
...
...
@@ -114,6 +114,12 @@命名空间uFR
MIFARE_PLUS_AES_AUTHENT1B
=
0 x81
}
枚举
MIFARE_PLUS_AES_KEY_TYPE
{
MIFARE_PLUS_AES_KEY_A
=
1
,
MIFARE_PLUS_AES_KEY_B
=
2
,
}
/ / DLJavaCardSignerCardTypes:
枚举
JCDL_SIGNER_CARDS
{
...
...
@@ -2075,12 +2081,21 @@命名空间uFR
//---------------------------------------------------------------------
[
DllImport
(
DLL_NAME
,
CallingConvention
=
CallingConvention
.
StdCall
,
入口点
=
“MFP_ChangeSectorKey_PK”
)]
公共
静态
走读生
DL_STATUS
MFP_ChangeSectorKey_PK
(
字节
sector_nr
,
字节
auth_mode
,
[
在
]
字节
[]
old_sector_key
,
[
在
]
字节
[]
new_sector_key
);
//---------------------------------------------------------------------
[
DllImport
(
DLL_NAME
,
CallingConvention
=
CallingConvention
.
StdCall
,
入口点
=
“MFP_ChangeSectorKey”
)]
公共
静态
走读生
DL_STATUS
MFP_ChangeSectorKey
(
字节
sector_nr
,
字节
auth_mode
,
字节
key_index
,
[
在
]
字节
[]
new_sector_key
);
//---------------------------------------------------------------------
[
DllImport
(
DLL_NAME
,
CallingConvention
=
CallingConvention
.
StdCall
,
入口点
=
“MFP_ChangeSectorKeyExt_PK”
)]
公共
静态
走读生
DL_STATUS
MFP_ChangeSectorKeyExt_PK
(
字节
sector_nr
,
字节
auth_mode
,
[
在
]
字节
[]
old_sector_key
,
[
在
]
字节
[]
new_sector_key
,
字节
new_key_type
);
//---------------------------------------------------------------------
[
DllImport
(
DLL_NAME
,
CallingConvention
=
CallingConvention
.
StdCall
,
入口点
=
“MFP_ChangeSectorKeyExt”
)]
公共
静态
走读生
DL_STATUS
MFP_ChangeSectorKeyExt
(
字节
sector_nr
,
字节
auth_mode
,
字节
key_index
,
[
在
]
字节
[]
new_sector_key
,
字节
new_key_type
);
//---------------------------------------------------------------------
[
DllImport
(
DLL_NAME
,
CallingConvention
=
CallingConvention
.
StdCall
,
入口点
=
“MFP_FieldConfigurationSet_PK”
)]
公共
静态
走读生
DL_STATUS
MFP_FieldConfigurationSet_PK
([
在
]
字节
[]
configuration_key
,
字节
rid_use
,
字节
prox_check_use
);
...
...
ufr-lib
@
ff615dd5
子项目提交
ba8c68280542465365548f0db9f48585893c84a4
子项目提交
ff615dd5a7e3a5571013591216bbae4b3f9096f9
写
预览
减价
支持
0%
再试一次
或
附加新文件
附加文件
取消
你要添加
0
人
讨论。小心行事。
先完成编辑此消息!
取消
请
注册
或
登录
发表评论
map