命令行参数 路径有空格
摘要:以路径作为命令行参数输入时,路径很有可能有空格,导致命令行参数错误,解决方法是,给路径加上双引号 (太简单了,也值得写篇博客?!呜呜呜~)
阅读全文
posted @
2022-03-30 15:28
Jason_c
阅读(370)
推荐(1)
Unity 文件压缩
摘要:public class ZIP { public void GetPaths(string rootPath, string[] whitelist, out List<string> dirs, out List<string> files) { rootPath = rootPath.Cont
阅读全文
posted @
2022-03-16 10:32
Jason_c
阅读(401)
推荐(0)
Unity 文件加密
摘要:/// <summary> /// 对称加密算法类,AES、DES算法,据说AES更快一些,所以这里用AES /// </summary> public class Symmetric { const string KEY = "WgsergmzsjdfgOEWRGNJRNGmkzaksme"; c
阅读全文
posted @
2022-03-16 10:29
Jason_c
阅读(646)
推荐(0)