上一页 1 ··· 103 104 105 106 107 108 109 110 111 ··· 123 下一页
摘要: I had validated that different encoding mode can generate different result,they are not identical. Besides,the File.ReadAllBytes may based on UTF8 bec 阅读全文
posted @ 2020-01-01 21:17 FredGrit 阅读(261) 评论(0) 推荐(0)
摘要: static void Main(string[] args) { WebClientDemo(); Console.ReadLine(); } static void WebClientDemo() { webContent = File.ReadAllText("img2.txt"); var urlsList = webContent.Split(new string[] { "\"", " 阅读全文
posted @ 2019-12-30 09:44 FredGrit 阅读(302) 评论(0) 推荐(0)
摘要: static void CancelDemo() { int i = 0; //Console.WriteLine("Press ESC to stop"); //while (!(Console.KeyAvailable && Console.ReadKey(true).Key == ConsoleKey.Escape)) //{ // Console.WriteLine(++i); //} C 阅读全文
posted @ 2019-12-26 10:15 FredGrit 阅读(174) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO.Compression; using System.IO; using System.Diagnostics; namespace ... 阅读全文
posted @ 2019-12-23 14:54 FredGrit 阅读(794) 评论(0) 推荐(0)
摘要: static byte[] GetBytesFromDic(Dictionary<string,string> dic) { if(dic==null || !dic.Any()) { return null; } using (MemoryStream ms = new MemoryStream()) { BinaryFormatter binFormatter = new BinaryForm 阅读全文
posted @ 2019-12-17 11:30 FredGrit 阅读(310) 评论(0) 推荐(0)
摘要: static byte[] GetBytesFromDic(Dictionary<string,string> dic) { if(dic==null || !dic.Any()) { return null; } using (MemoryStream ms = new MemoryStream( 阅读全文
posted @ 2019-12-12 16:53 FredGrit 阅读(1233) 评论(0) 推荐(0)
摘要: C# get dictionary md5 static string GetDicMD5(string dirFullName) { logBuilder = new StringBuilder(); Dictionary<string, string> folderMd5Dic = GetFol 阅读全文
posted @ 2019-12-12 16:02 FredGrit 阅读(324) 评论(0) 推荐(0)
摘要: From https://www.cnblogs.com/zjbky/p/9242140.html 阅读全文
posted @ 2019-12-10 19:52 FredGrit 阅读(518) 评论(0) 推荐(1)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Configuration; using MySql.Data.MySqlClient; using S 阅读全文
posted @ 2019-12-10 18:24 FredGrit 阅读(770) 评论(0) 推荐(0)
上一页 1 ··· 103 104 105 106 107 108 109 110 111 ··· 123 下一页