摘要: //C#调用C++的DLL搜集整理的所有数据类型转换方式,可能会有重复或者多种方案,自己多测试 //c++:HANDLE(void *) ---- c#:System.IntPtr //c++:Byte(unsigned char) ---- c#:System.Byte //c++:SHORT(short) ---- c#:System.Int16 //... 阅读全文
posted @ 2016-05-12 15:16 程序员徐坤 阅读(320) 评论(0) 推荐(0) 编辑
摘要: /// AES加密 /// /// 输入的数据 /// 向量128位 /// 加密密钥 /// public static byte[] AESEncrypt(byte[] inputdata, byte[] iv, string strKey) { /... 阅读全文
posted @ 2016-05-12 15:15 程序员徐坤 阅读(1088) 评论(0) 推荐(0) 编辑