2020年3月19日

C#NET:APIHOOK源代码

摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文

posted @ 2020-03-19 22:41 yunchenxian26 阅读(459) 评论(0) 推荐(0)

2020年3月6日

C#NET内存DLL加载 MemoryModuleSX

摘要: 加载内存中的dll/exe 并且支持AnyCPU编译!使用方法可以看解决方案中的Test项目 1 #pragma warning disable IDE0001 2 using System; 3 using System.Collections.Generic; 4 using System.IO 阅读全文

posted @ 2020-03-06 19:41 yunchenxian26 阅读(1495) 评论(2) 推荐(1)

2020年3月4日

C#NET*反托管调试器代码希望对大家有帮助

摘要: 1 static partial class AntiDebugAntinet { 2 3 [DllImport("kernel32", CharSet = CharSet.Auto)] 4 private static extern uint GetCurrentProcessId(); 5 6 阅读全文

posted @ 2020-03-04 22:22 yunchenxian26 阅读(312) 评论(0) 推荐(0)

C#NET字符编码加解密的参考代码

摘要: //C#NET字符编码加解密的参考代码我是从老外程序里面拷贝出来的希望对大家有所用 1 public string Encrypt(string name) { 2 byte ivId = GetIVId(name); 3 cipher.IV = GetIV(ivId); 4 var buf = E 阅读全文

posted @ 2020-03-04 22:08 yunchenxian26 阅读(208) 评论(0) 推荐(0)

C#NET使用指定的字符集将缓冲区编码为字符串

摘要: /// <summary> /// 使用指定的字符集将缓冲区编码为字符串。 /// </summary> /// <param name="buff">输入缓冲区</param> /// <param name="charset">字符集.</param> /// <returns>编码字符串.</ 阅读全文

posted @ 2020-03-04 22:03 yunchenxian26 阅读(394) 评论(0) 推荐(0)

C#NET获取CalculateMD5Hash32位

摘要: 1 public string CalculateMD5Hash(string input) 2 { 3 MD5 md5 = MD5.Create(); 4 byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); 5 byte[ 阅读全文

posted @ 2020-03-04 22:01 yunchenxian26 阅读(255) 评论(0) 推荐(0)

C#NET调用C++X64动态链接库导出函数

摘要: 1 // 这是C++定义 DLL 应用程序的导出函数。 2 // 3 4 #include "stdafx.h" 5 6 char _Number[255]; 7 8 char _start[255]; 9 10 char _finish[255]; 11 12 extern "C" __decls 阅读全文

posted @ 2020-03-04 21:55 yunchenxian26 阅读(523) 评论(0) 推荐(0)

C#NET窗口延时不卡顿的方法及代码毫秒级

摘要: 1 public static void Delay(int mm) 2 { 3 while (DateTime.Now.AddMilliseconds((double)mm) > DateTime.Now) 4 { 5 Thread.Sleep(100);这里设置1到100都可以 6 Applic 阅读全文

posted @ 2020-03-04 21:44 yunchenxian26 阅读(1677) 评论(0) 推荐(0)

C#NET获取IP地址的方法

摘要: this.SetCertificatePolicy(); httpItem = new HttpItem(); httpItem.Method = "GET"; httpItem.URL = "这里填写你要获取IP的网址路径"; httpItem.ReadWriteTimeout = 1500; h 阅读全文

posted @ 2020-03-04 21:41 yunchenxian26 阅读(460) 评论(0) 推荐(0)

一个C#NET网络验证的登录事件及代码

摘要: 1 // AuToSoft.Form_Login 2 private void button_login_Click(object sender, EventArgs e) 3 { 4 DateTime now = DateTime.Now; 5 bool flag = sender == this 阅读全文

posted @ 2020-03-04 21:37 yunchenxian26 阅读(1228) 评论(0) 推荐(0)

导航