// Token: 0x06000007 RID: 7
[DllImport("ET199_32.dll")]
public static extern uint ETEnum(byte[] pETContextList, ref uint dwET199Count);
// Token: 0x06000008 RID: 8
[DllImport("ET199_32.dll")]
public static extern uint ETOpen(byte[] pETContextList);
// Token: 0x06000009 RID: 9
[DllImport("ET199_32.dll")]
public static extern uint ETClose(byte[] pETContextList);
// Token: 0x0600000A RID: 10
[DllImport("ET199_32.dll")]
public static extern uint ETEraseDir(byte[] pETContextList, string lpszDirID);
// Token: 0x0600000B RID: 11
[DllImport("ET199_32.dll")]
public static extern uint ETVerifyPin(byte[] pETContextList, byte[] pbPin, uint dwPinLen, uint dwPinType);
// Token: 0x0600000C RID: 12
[DllImport("ET199_32.dll")]
public static extern uint ETChangePin(byte[] pETContextList, byte[] pbOldPin, uint dwOldPinLen, byte[] pbNewPin, uint dwNewPinLen, uint dwPinType, byte byPinTryCount);
// Token: 0x0600000D RID: 13
[DllImport("ET199_32.dll")]
public static extern uint ETCreateFile(byte[] pETContextList, string lpszFileID, uint dwFileSize, byte bFileType);
// Token: 0x0600000E RID: 14
[DllImport("ET199_32.dll")]
public static extern uint ETWriteFile(byte[] pETContextList, string lpszFileID, uint dwOffset, byte[] pBuffer, uint dwBufferSize);
// Token: 0x0600000F RID: 15
[DllImport("ET199_32.dll")]
public static extern uint ETExecute(byte[] pETContextList, string lpszFileID, byte[] pInBuffer, uint dwInbufferSize, byte[] pOutBuffer, uint dwOutBufferSize, ref uint pdwBytesReturned);
// Token: 0x06000010 RID: 16
[DllImport("ET199_32.dll")]
public static extern uint ETControl(byte[] pETContextList, uint dwCtlCode, byte[] pInBuffer, uint dwInbufferSize, byte[] pOutBuffer, uint dwOutBufferSize, ref uint pdwBytesReturned);
// Token: 0x06000011 RID: 17
[DllImport("RSAEnc.dll")]
public static extern uint RSAData(byte[] pbPubKey, uint ulPubKeyLen, byte[] pbData, uint ulDataLen);
// Token: 0x04000001 RID: 1
public const uint ET_S_SUCCESS = 0u;
// Token: 0x04000002 RID: 2
public const uint ET_E_KEY_REMOVED = 4026531841u;
// Token: 0x04000003 RID: 3
public const uint ET_E_INVALID_PARAMETER = 4026531842u;
// Token: 0x04000004 RID: 4
public const uint ET_E_COMM_ERROR = 4026531843u;
// Token: 0x04000005 RID: 5
public const uint ET_E_INSUFFICIENT_BUFFER = 4026531844u;
// Token: 0x04000006 RID: 6
public const uint ET_E_NO_LIST = 4026531845u;
// Token: 0x04000007 RID: 7
public const uint ET_E_DEVPIN_NOT_CHECK = 4026531846u;
// Token: 0x04000008 RID: 8
public const uint ET_E_USERPIN_NOT_CHECK = 4026531847u;
// Token: 0x04000009 RID: 9
public const uint ET_E_RSA_FILE_FORMAT_ERROR = 4026531848u;
// Token: 0x0400000A RID: 10
public const uint ET_E_DIR_NOT_FOUND = 4026531849u;
// Token: 0x0400000B RID: 11
public const uint ET_E_ACCESS_DENIED = 4026531850u;
// Token: 0x0400000C RID: 12
public const uint ET_E_ALREADY_INITIALIZED = 4026531851u;
// Token: 0x0400000D RID: 13
public const uint ET_E_INCORRECT_PIN = 4026534912u;
// Token: 0x0400000E RID: 14
public const uint ET_E_DF_SIZE = 4026531853u;
// Token: 0x0400000F RID: 15
public const uint ET_E_FILE_EXIST = 4026531854u;
// Token: 0x04000010 RID: 16
public const uint ET_E_UNSUPPORTED = 4026531855u;
// Token: 0x04000011 RID: 17
public const uint ET_E_FILE_NOT_FOUND = 4026531856u;
// Token: 0x04000012 RID: 18
public const uint ET_E_ALREADY_OPENED = 4026531857u;
// Token: 0x04000013 RID: 19
public const uint ET_E_DIRECTORY_EXIST = 4026531858u;
// Token: 0x04000014 RID: 20
public const uint ET_E_CODE_RANGE = 4026531859u;
// Token: 0x04000015 RID: 21
public const uint ET_E_INVALID_POINTER = 4026531860u;
// Token: 0x04000016 RID: 22
public const uint ET_E_GENERAL_FILESYSTEM = 4026531861u;
// Token: 0x04000017 RID: 23
public const uint ET_E_OFFSET_BEYOND = 4026531862u;
// Token: 0x04000018 RID: 24
public const uint ET_E_FILE_TYPE_MISMATCH = 4026531863u;
// Token: 0x04000019 RID: 25
public const uint ET_E_PIN_BLOCKED = 4026531864u;
// Token: 0x0400001A RID: 26
public const uint ET_E_INVALID_CONTEXT = 4026531865u;
// Token: 0x0400001B RID: 27
public const uint ET_E_SHARING_VIOLATION = 4026531866u;
// Token: 0x0400001C RID: 28
public const uint ET_TOOMUCHTHREAD = 4026531867u;
// Token: 0x0400001D RID: 29
public const uint ET_E_ERROR_UNKNOWN = 4294967295u;
// Token: 0x0400001E RID: 30
public const uint ET_E_LOAD_FILE_FAILED = 4026535937u;
// Token: 0x0400001F RID: 31
public const uint MAX_ATR_LEN = 16u;
// Token: 0x04000020 RID: 32
public const uint MAX_ID_LEN = 8u;
// Token: 0x04000021 RID: 33
public const uint ET_USER_PIN = 0u;
// Token: 0x04000022 RID: 34
public const uint ET_DEV_PIN = 1u;
// Token: 0x04000023 RID: 35
public const uint ET_CREATE_NEW = 0u;
// Token: 0x04000024 RID: 36
public const uint ET_UPDATE_FILE = 1u;
// Token: 0x04000025 RID: 37
public const uint ET_CREATE_ROOT_DIR = 0u;
// Token: 0x04000026 RID: 38
public const uint ET_CREATE_SUB_DIR = 1u;
// Token: 0x04000027 RID: 39
public const uint ET_LED_UP = 1u;
// Token: 0x04000028 RID: 40
public const uint ET_LED_DOWN = 2u;
// Token: 0x04000029 RID: 41
public const uint ET_LED_WINK = 3u;
// Token: 0x0400002A RID: 42
public const uint ET_GET_DEVICE_TYPE = 17u;
// Token: 0x0400002B RID: 43
public const uint ET_GET_SERIAL_NUMBER = 18u;
// Token: 0x0400002C RID: 44
public const uint ET_GET_DEVICE_USABLE_SPACE = 19u;
// Token: 0x0400002D RID: 45
public const uint ET_GET_DEVICE_ATR = 20u;
// Token: 0x0400002E RID: 46
public const uint ET_GET_CUSTOMER_NAME = 21u;
// Token: 0x0400002F RID: 47
public const uint ET_GET_MANUFACTURE_DATE = 22u;
// Token: 0x04000030 RID: 48
public const uint ET_GET_DF_AVAILABLE_SPACE = 23u;
// Token: 0x04000031 RID: 49
public const uint ET_GET_EF_INFO = 24u;
// Token: 0x04000032 RID: 50
public const uint ET_GET_COS_VERSION = 25u;
// Token: 0x04000033 RID: 51
public const uint ET_SET_DEVICE_ATR = 33u;
// Token: 0x04000034 RID: 52
public const uint ET_SET_DEVICE_TYPE = 34u;
// Token: 0x04000035 RID: 53
public const uint ET_SET_SHELL_KEY = 35u;
// Token: 0x04000036 RID: 54
public const uint ET_SET_CUSTOMER_NAME = 36u;
// Token: 0x04000037 RID: 55
public const uint ET_RESET_DEVICE = 49u;
public bool getinfo()
{
uint dwET199Count = 0u;
uint dwRet = MainWindow.ETEnum(null, ref dwET199Count);
byte[] pET199 = new byte[56u * dwET199Count];
dwRet = MainWindow.ETEnum(pET199, ref dwET199Count);
bool flag = dwRet > 0u;
bool result;
if (flag)
{
result = false;
}
else
{
dwRet = MainWindow.ETOpen(pET199);
bool flag2 = dwRet > 0u;
if (flag2)
{
result = false;
}
else
{
uint bytesReturned = 0u;
byte[] OutBuffer = new byte[1];
dwRet = MainWindow.ETControl(pET199, 17u, null, 0u, OutBuffer, 1u, ref bytesReturned);
bool flag3 = dwRet > 0u;
if (flag3)
{
result = false;
}
else
{
OutBuffer = new byte[8];
dwRet = MainWindow.ETControl(pET199, 18u, null, 0u, OutBuffer, 8u, ref bytesReturned);
bool flag4 = dwRet > 0u;
if (flag4)
{
result = false;
}
else
{
OutBuffer = new byte[4];
dwRet = MainWindow.ETControl(pET199, 19u, null, 0u, OutBuffer, 4u, ref bytesReturned);
bool flag5 = dwRet > 0u;
if (flag5)
{
result = false;
}
else
{
OutBuffer = new byte[16];
dwRet = MainWindow.ETControl(pET199, 20u, null, 0u, OutBuffer, 16u, ref bytesRetur
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
对NET程序进行加密狗验证.rar (20个子文件)
对NET程序进行加密狗验证
微信图片_20181201135417.png 14KB
对.net的DLL添加加密狗验证功能.docx 332KB
微信图片_20181201135221.png 86KB
微信图片_20181201135241.png 5KB
et199 C#验证示例.rar 538KB
de4dot.rar 1.65MB
微信图片_20181201135344.png 6KB
ScanId.exe 2.46MB
微信图片_20181201135333.png 11KB
微信图片_20181201135405.png 7KB
微信图片_20181201135426.png 14KB
微信图片_20181201135203.png 99KB
ET199加密狗相关软件.rar 433KB
微信图片_20181201135233.png 19KB
加密狗验证部分复制的内容.txt 10KB
ET199_32.dll 200KB
微信图片_20181201135313.png 21KB
微信图片_20181201135322.png 87KB
微信图片_20181201135249.png 105KB
微信图片_20181201135352.png 88KB
共 20 条
- 1
泽轩溪语
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0