上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 34 下一页
摘要: using Ionic.Zip; public class ZipHelper { public static void ZipSingleFile(string zipPath) { try { using (ZipFile zip = new ZipFile()) ... 阅读全文
posted @ 2018-08-30 12:28 daviyoung 阅读(354) 评论(0) 推荐(0)
摘要: 未完待续 阅读全文
posted @ 2018-07-02 12:14 daviyoung 阅读(109) 评论(0) 推荐(0)
摘要: using System.Diagnostics; public static void carveVideo() { var inputpath = @"d:\1.mp4"; var outPath = @"d:\1_carve.mp4"; var startTime = "00:00:0... 阅读全文
posted @ 2018-05-31 11:42 daviyoung 阅读(806) 评论(0) 推荐(0)
摘要: class Program { static void Main(string[] args) { getsqliteData(); } public static void getsqliteData() { SQLiteConnection cnn = ne... 阅读全文
posted @ 2018-05-24 10:22 daviyoung 阅读(4314) 评论(0) 推荐(0)
摘要: 未完待续... 阅读全文
posted @ 2018-04-20 11:54 daviyoung 阅读(116) 评论(0) 推荐(0)
摘要: 异常情况:抛出异常:文件包含损坏的数据 解决办法:把doc文件转化为docx文件,可搜索在线转化网站。之后就可以使用docx文件。 阅读全文
posted @ 2018-03-30 11:29 daviyoung 阅读(1977) 评论(0) 推荐(0)
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2018-01-24 00:18 daviyoung 阅读(170) 评论(0) 推荐(0)
摘要: 解决办法: ServicePointManager.Expect100Continue = true;ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; 阅读全文
posted @ 2018-01-18 14:54 daviyoung 阅读(631) 评论(0) 推荐(0)
摘要: 处理方法:线程启动后,使用try-catch,通过wait或者waitall来捕获异常。 单个Task的情况: 多个Task的情况: 阅读全文
posted @ 2018-01-05 16:24 daviyoung 阅读(1098) 评论(0) 推荐(0)
摘要: ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;// SecurityProtocolType.Tls1.2; 阅读全文
posted @ 2017-12-26 17:02 daviyoung 阅读(393) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 34 下一页