作者:AlexSJC

微信/QQ/Tim 防撤回(Windows)

https://github.com/huiyadanli/RevokeMsgPatcher 适用于 Windows 下 PC 版微信/QQ/TIM的防撤回补丁。支持最新版微信/QQ/TIM,其中微信能够选择安装多开功能。

AlexSJC 发布于 2023-12-16

C# UniqueWindow

using System.Collections.Generic; using System.Windows; public class UniqueWindow { private static readonly List<Window> windows = new(); pu

AlexSJC 发布于 2023-12-14

WPF 工具窗口

更改指定窗口的属性。 函数还将指定偏移量的 32 位 (长) 值设置为额外的窗口内存。 https://learn.microsoft.com/zh-cn/windows/win32/api/winuser/nf-winuser-setwindowlonga

AlexSJC 发布于 2023-12-12

C# 开机启动

using Microsoft.Win32; using System.Diagnostics; public class AutoStart { public const string KeyPath = @"SOFTWARE\Microsoft\Windows\CurrentVersi

AlexSJC 发布于 2023-12-09

Clash 删库

11月2日,Clash for Windows 宣布停更并删库。 11月3日,Clash Core 及多个客户端项目在 GitHub 上被删除或归档。 随着 Clash Core 的停更,所有依赖 Clash Core 进行二次开发的项目失去了根基,意味着整个生态或将面临死亡。

AlexSJC 发布于 2023-11-18

Xamarin.Android 请求忽略电池优化

<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" /> if (Build.VERSION.SdkInt >= BuildVersionCodes.M) { Powe

AlexSJC 发布于 2023-11-12

Xamarin.Android 前台服务

public const string CHANNEL_ID = "default_channel"; public const string CHANNEL_NAME = "Default Channel"; public const int NOTIFICATION_ID = 10000; p

AlexSJC 发布于 2023-11-10

常见 Copyright 写法

Microsoft © Microsoft 2023

AlexSJC 发布于 2023-10-28

C# 通配符

请使用最新的 NuGet 包:https://www.nuget.org/packages/Asjc.Wildcard

AlexSJC 发布于 2023-10-23

C# 异步 Ping 多个 IP

public static async Task<List<string>> PingIPs(List<string> ips, int timeout = 1000) { var tasks = ips.Select(ip => new Ping().SendPingAsync(ip, t

AlexSJC 发布于 2023-10-21
上一页 下一页