Loading

摘要: #region 转换时间为unix时间戳 /// /// 转换时间为unix时间戳 /// /// 需要传递UTC时间,避免时区误差,例:DataTime.UTCNow /// public static double ConvertToUnixOfTime(DateTime da... 阅读全文
posted @ 2016-11-22 17:40 晓晨Master 阅读(7415) 评论(0) 推荐(0) 编辑
摘要: 蛮好用的 具体功能看图 开源地址:https://github.com/junstor/memadmin 阅读全文
posted @ 2016-11-22 17:37 晓晨Master 阅读(930) 评论(0) 推荐(0) 编辑
摘要: 1、取得控制台应用程序的根目录方法 方法1、Environment.CurrentDirectory 取得或设置当前工作目录的完整限定路径 方法2、AppDomain.CurrentDomain.BaseDirectory 获取基目录,它由程序集冲突解决程序用来探测程序集 2、取得Web应用程序的根 阅读全文
posted @ 2016-11-22 17:32 晓晨Master 阅读(14465) 评论(0) 推荐(0) 编辑
摘要: 可用于对比文件是否相同 阅读全文
posted @ 2016-11-22 17:30 晓晨Master 阅读(18584) 评论(0) 推荐(1) 编辑