摘要:
static void Main(string[] args) { WebClientDemo(); Console.ReadLine(); } static void WebClientDemo() { webContent = File.ReadAllText("img2.txt"); var urlsList = webContent.Split(new string[] { "\"", " 阅读全文
摘要:
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 阅读全文
摘要:
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 ... 阅读全文
摘要:
static byte[] GetBytesFromDic(Dictionary<string,string> dic) { if(dic==null || !dic.Any()) { return null; } using (MemoryStream ms = new MemoryStream()) { BinaryFormatter binFormatter = new BinaryForm 阅读全文
摘要:
wcf service: client: 阅读全文
摘要:
static byte[] GetBytesFromDic(Dictionary<string,string> dic) { if(dic==null || !dic.Any()) { return null; } using (MemoryStream ms = new MemoryStream( 阅读全文
摘要:
C# get dictionary md5 static string GetDicMD5(string dirFullName) { logBuilder = new StringBuilder(); Dictionary<string, string> folderMd5Dic = GetFol 阅读全文
摘要:
From https://www.cnblogs.com/zjbky/p/9242140.html 阅读全文
摘要:
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 阅读全文
摘要:
using System; using System.Text; using System.IO; namespace ConsoleApplication15 { class Program { static void Main(string[] args) { string fileName = @"..\..\Images\lj.jpg"; FileStreamReadToBytes(fil 阅读全文