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