随笔 - 35  文章 - 4  评论 - 0  阅读 - 8448 
10 2022 档案
去除不可作为文件名的特殊符号
摘要:/// <summary> /// 去除特殊字符 /// </summary> /// <param name="text"></param> /// <returns></returns> public static string MakeValidFileName(string text) { 阅读全文
posted @ 2022-10-19 09:06 码农小白修炼记 阅读(97) 评论(0) 推荐(0) 编辑
判断MP4 文件
摘要:public class CheckResult { public bool IsMp4 { get; set; } public bool SupportStreaming { get; set; } } /// <summary> /// 判断是否Mp4及Moov前置 /// </summary 阅读全文
posted @ 2022-10-18 16:01 码农小白修炼记 阅读(273) 评论(0) 推荐(0) 编辑
Logtxt
摘要:public static void SSOAuthenLog(string msg, bool isRemoteAuthen = true) { #region try { ContextHelper helper = new ContextHelper(); string logFolder = 阅读全文
posted @ 2022-10-17 16:17 码农小白修炼记 阅读(144) 评论(0) 推荐(0) 编辑
接口返回JSON字符串压缩和解压
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.IO;using System.IO.Compression;namespace CSIBrowser.Clie 阅读全文
posted @ 2022-10-11 14:19 码农小白修炼记 阅读(245) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示