上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 76 下一页
摘要: 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 阅读(287) 评论(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 阅读(159) 评论(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 阅读(761) 评论(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 阅读(296) 评论(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 阅读(1141) 评论(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 阅读(306) 评论(0) 推荐(0) 编辑
摘要: From https://www.cnblogs.com/zjbky/p/9242140.html 阅读全文
posted @ 2019-12-10 19:52 FredGrit 阅读(510) 评论(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 阅读(743) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Text; using System.IO; namespace ConsoleApplication15 { class Program { static void Main(string[] args) { string fileName = @"..\..\Images\lj.jpg"; FileStreamReadToBytes(fil 阅读全文
posted @ 2019-12-09 11:44 FredGrit 阅读(813) 评论(0) 推荐(0) 编辑
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 76 下一页