摘要:
将String转换为UTF-8 格式 public string UTF8Convert(string str) { if (str.Trim() != "") { string ascii_data = ""; byte[] t_byte = Encoding.UTF8.GetBytes(str) 阅读全文
posted @ 2021-05-04 14:28
码农阿亮
阅读(3545)
评论(0)
推荐(0)
摘要:
通过cmd调用7z软件实现压缩和解压缩文件 压缩文件: public object CompressZipFile(string sourceFile, string destinationFile) { object resObj; Process process = new Process(); 阅读全文
posted @ 2021-05-04 14:24
码农阿亮
阅读(1440)
评论(0)
推荐(0)

浙公网安备 33010602011771号