GetStableHashCode、DES 加解密

This commit is contained in:
龙腾猫跃 committed 2026-05-20 19:17:40 +08:00
1 parent 3d91c024e2
commit 19541cecce
5 files changed
+109 -31

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ public static class PathUtils {
if (path.StartsWithF(@"\\?\")) return path; // 已经是长路径
path = RemoveSlashSuffix(path).Replace('/', '\\'); // API 要求这个格式……
if (path.StartsWithF(@"\\")) {
return $@"\\?\UNC\{path.Substring(2)}";
return $@"\\?\UNC\{path[2..]}";
} else {
return $@"\\?\{path}";
}