摘要: /// <summary> /// 全局鼠标钩子。这可以用来在全球范围内捕获鼠标输入。 /// </summary> public static class MouseHook { //钩子的句柄(用于安装/卸载)。 private static IntPtr hHook = IntPtr.Zero 阅读全文
posted @ 2021-10-20 17:59 龙丶谈笑风声 阅读(603) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// MP3文件播放操作辅助类 /// </summary> public class MP3Helper { [DllImport("winmm.dll")] private static extern long mciSendString(string strCom 阅读全文
posted @ 2021-10-20 17:59 龙丶谈笑风声 阅读(397) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 全局键盘钩子。这可以用来在全球范围内捕捉键盘输入。 /// </summary> public static class KeyboardHook { // 钩子的句柄(用于安装/卸载). private static IntPtr hHook = IntPtr. 阅读全文
posted @ 2021-10-20 17:58 龙丶谈笑风声 阅读(843) 评论(2) 推荐(0) 编辑
摘要: /// <summary> /// 模拟鼠标点击 /// </summary> [HostProtection(SecurityAction.LinkDemand, Resources = HostProtectionResource.ExternalProcessMgmt)] public cla 阅读全文
posted @ 2021-10-20 17:58 龙丶谈笑风声 阅读(2853) 评论(0) 推荐(0) 编辑
摘要: using SendKeysProxy = System.Windows.Forms.SendKeys; /// <summary> /// 提供访问键盘当前状态的属性, /// 如什么键当前按下,提供了一种方法,以发送击键到活动窗口。 /// </summary> [HostProtection( 阅读全文
posted @ 2021-10-20 17:57 龙丶谈笑风声 阅读(135) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 提供用户硬件唯一信息的辅助类 /// </summary> public class FingerprintHelper { public static string Value() { return pack(cpuId() + biosId() + diskI 阅读全文
posted @ 2021-10-20 17:55 龙丶谈笑风声 阅读(137) 评论(0) 推荐(0) 编辑
摘要: using System.Runtime.InteropServices;using System.Management;using System.Collections.Generic;using Microsoft.Win32;using System;using System.Text; // 阅读全文
posted @ 2021-10-20 17:55 龙丶谈笑风声 阅读(845) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 电脑信息 /// </summary> public class Computer { #region CpuUsage类 /// <summary> /// Defines an abstract base class for implementations o 阅读全文
posted @ 2021-10-20 17:53 龙丶谈笑风声 阅读(135) 评论(0) 推荐(0) 编辑
摘要: using ClipboardProxy = System.Windows.Forms.Clipboard; /// <summary>提供用于操作剪贴板的方法.</summary> [EditorBrowsable(EditorBrowsableState.Never)] [Browsable(f 阅读全文
posted @ 2021-10-20 17:52 龙丶谈笑风声 阅读(642) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 摄像头操作辅助类,包括开启、关闭、抓图、设置等功能 /// </summary> public class Camera { private IntPtr lwndC; private IntPtr mControlPtr; private int mWidth; 阅读全文
posted @ 2021-10-20 17:51 龙丶谈笑风声 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 声音播放辅助类 阅读全文
posted @ 2021-10-20 17:50 龙丶谈笑风声 阅读(46) 评论(0) 推荐(0) 编辑
摘要: https://www.myssl.cn/tools/merge-pem-cert.html 阅读全文
posted @ 2021-10-20 16:13 龙丶谈笑风声 阅读(8) 评论(0) 推荐(0) 编辑
摘要: https://superdry.apphb.com/tools/online-rsa-key-converter 阅读全文
posted @ 2021-10-20 16:12 龙丶谈笑风声 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 移除:DataTable.Columns.Remove("colName"); 取列:DataTable dt = DataTable.DefaultView.ToTable(false, new string[] { "colName1", "colName2" }); 取行:DataTable 阅读全文
posted @ 2021-10-20 16:10 龙丶谈笑风声 阅读(218) 评论(0) 推荐(0) 编辑
摘要: C#RSA数字签名解释 阅读全文
posted @ 2021-10-20 15:57 龙丶谈笑风声 阅读(830) 评论(0) 推荐(0) 编辑