- 博客(58)
- 资源 (4)
- 收藏
- 关注
原创 右键菜单注册表位置
1、鼠标右键桌面空白处,新建菜单中的项目在注册表中的位置 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew]文件夹内右键菜单:HKEY_CLASSES_ROOT\Directory\Background\shell。4、鼠标右键在IE浏览器里,弹出的菜单明细在注册表中的位置。3、鼠标右键文件夹,弹出的菜单明细在注册表中的位置。5、桌面空白处点击右键菜单。
2024-06-12 14:08:27
1403
原创 c# html解析框架HtmlAgilityPack、AngleSharp、NSoup
【代码】c# html解析框架HtmlAgilityPack、AngleSharp、NSoup。
2022-10-06 22:52:07
958
原创 window环境变量注册表位置,可用来编程配置JDK
计算机\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\EnvironmentRegistryKey localMachine = Registry.LocalMachine;RegistryKey registryKey = localMachine.OpenSubKey("SYSTEM");RegistryKey registryKey2 = registryKey.OpenSubKey("ControlSet001
2022-05-05 16:09:27
569
原创 设置Chrome更新服务器地址
using System;using System.Collections.Generic;using System.Diagnostics;using System.Drawing;using System.IO;using System.Linq;using System.Net;using System.Net.Sockets;using System.Runtime.InteropServices;using System.Windows;using System.Window.
2022-03-04 16:21:34
1319
原创 HttpWebRequest 辅助类
using System;using System.IO;using System.IO.Compression;using System.Net;using System.Text;using System.Text.RegularExpressions;namespace WebRequestHellp{ public class RequestHellp { private static CookieContainer ckContainer = new
2022-02-21 08:37:41
263
原创 获取chrome更新服务器ip
using System;using System.Collections.Generic;using System.Diagnostics;using System.IO;using System.IO.Compression;using System.Linq;using System.Net;using System.Text;using System.Text.RegularExpressions;using System.Threading.Tasks;namespace G
2022-02-19 16:55:34
1403
原创 福昕pdf Acrobat DC pdf 右键菜单注册表 bat
福昕pdf 使用ConvertToPDFShellExtension_x64.dll 或ConvertToPDFShellExtension.dll 注册右键菜单Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Foxit_ConvertToPDF]@="{C5269811-4A29-4818-A4BB-111F9FC63A5F}"Acrobat DC pdf 注册右键
2022-01-17 11:00:04
3837
原创 html li去掉前面的小黑点 项目符号
去除小黑点ul li{ color:#fff; display:block;}ul li{ list-style-type:none;}多行,需配合ul width li widthul { width:280px;}ul li{ float:left; width:100px;}https://blog.csdn.net/business122/article/details/7973638...
2021-11-29 11:25:01
2535
原创 油猴脚本跨域测试
// ==UserScript==// @name 油猴脚本跨域测试// @namespace http://tampermonkey.net/// @version 0.1// @description try to take over the world!// @author You// @match https://www.baidu.com/// @icon https://www.google.com/s2/
2021-11-26 14:56:06
1958
原创 unsafe demo
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace UnsafeDemo{ class Program { //https://docs.microsoft.com/zh-CN/dotnet/csharp/language-reference/language-specifi
2021-11-26 09:15:36
254
原创 windows版本查询
1、cmd 命令: winver2、注册表位置:计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion计算机\HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup\Volatile计算机\HKEY_LOCAL_MACHINE\BCD00000000\Objects{bd2b9813-3072-11ec-99ff-cdd6c761390c}\Elements\120000043、参考链接htt
2021-10-25 09:10:42
260
原创 FontAwesome 字体图标 wpf使用
RegeditWPF 更改成你的项目名称<Application x:Class="RegeditWPF.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:RegeditWPF" StartupUri="MainWindow.xaml" xmlns
2021-10-21 20:44:08
162
原创 正则表达式非贪婪模式
正则表达式:(?![wwk])[^\s]*?(?=’)字符串:"wwkeeeooekiikoeji’,eeillie’,ddee’,www’,eee’,eee’,eee’,测试结果: eeeooekiikoeji解释:?![wwk] 去掉字符串 wwk?(?=’) 非贪婪 从字符串 ‘ 截断
2021-04-28 21:09:14
788
原创 winform 控件线程Invoke
using System;using System.Threading.Tasks;using System.Windows.Forms;namespace WindowsFormsApp2{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private delegate void Sh
2021-03-19 11:32:38
1202
原创 Func、Action 简单用法
using System;namespace FUNCAction{ class Program { static void Main(string[] args) { Action<string> ac = new Action<string>(MyAction); ac("你好啊!"); Func<string, string> func =
2021-03-12 23:20:44
130
原创 C#鼠标模拟操作
using System;using System.Runtime.InteropServices;using System.Text;namespace 鼠标操作{ class Program { static void Main(string[] args) { //硬件鼠标操作 //MouseHelp.POINT pOINT = new MouseHelp.POINT();
2021-03-04 14:25:39
1226
1
原创 微视去水印--抓包请求地址
微视去水印需登录 并提取COOKIEhttps://h5.weishi.qq.com/weishi/account/login?r_url=http%3A%2F%2Fmedia.weishi.qq.com%2FPOST https://h5.weishi.qq.com/webapp/json/challenge_feedrank/GetChallengeFeedDetail?t=0.49002594203963423&g_tk= HTTP/1.1Host: h5.weishi.qq.com
2021-02-21 10:03:59
2112
原创 数组 byte[] Intptr 互转
using System;using System.Runtime.InteropServices;namespace Intptr2Byte{ class Program { static void Main(string[] args) { Student student1 = new Student() { Name = "张三", Age = "7" }; Student student2 = n
2020-12-01 09:38:57
3896
原创 C# 提取连续字符
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 提取连续字符{ class Program { static void Main(string[] args) { init(); match("abc123a
2020-10-14 18:40:11
581
原创 剪切板线程
[STAThread] private async void Button1_ClickAsync(object sender, EventArgs e) { string t = Clipboard.GetText(); string temp = string.Empty; string a = string.Empty; await Task.Run(() =...
2020-10-14 18:33:26
133
原创 AppDomain及LoadLibrary加载外部dll简单实例
namespace LoadLibrary{ class Program { [DllImport("kernel32.dll", CharSet = CharSet.Auto, EntryPoint = "LoadLibrary")] static extern IntPtr LoadLibrary(string dllName); [DllImport("kernel32.dll")] static extern Int
2020-09-17 09:19:36
606
原创 visual studio git 拉取冲突解决
visual studio git 拉取冲突解决:1、git pull 拉取–出现冲突;2、删除冲突注释并保存,注释样例如 “<<<<<<< HEAD 冲突的代码 =======>>>>>>> 0effc28b8c541c863e972b6268498304409b9e4d”;3、git stash ,输入命令正常有冲突文件提示,如:冲突文件.cs: needs merge;4、git add .5、git
2020-08-31 12:37:25
4573
原创 c# 接收易语言数组指针 笔记
c# 接收易语言数组指针 delegate int GroupMemberlist(string pkey, long thisQQ, long groupNumber, ref GroupMemberDataList[] GroupInfos); /// <summary> /// 取群成员列表 /// </summary> /// <param name="thisQQ"></pa
2020-08-29 11:51:58
106
1
原创 C# 时间更新器
C# 时间更新器 private void button1_Click(object sender, EventArgs e) { //DateTime dt1 = new DateTime(1594363972686); DateTime dt = this.GetTaoBaoTimeAPI(); bool falg = UpdateTime.SetDate(dt); }
2020-07-10 15:56:48
258
原创 4种MVVM框架
4种MVVM框架1、ReactiveUI2、Prism3、MVVMLight4、WTM(https://github.com/dotnetcore/WTM/blob/develop/README.zh-CN.md)
2020-06-12 12:43:44
1362
原创 HttpWebResponse 四种accept-encoding解析(gzip, deflate, br,identity)
HttpWebResponse 四种accept-encoding解析(gzip, deflate, br,identity[默认]) hwrs = (HttpWebResponse)hwr.GetResponse() if (hwrs.ContentEncoding.ToLower().Contains("gzip")) {...
2020-04-15 15:58:28
3313
AMITool1.62
2012-01-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人