摘要: Console.WriteLine("Ports:"); foreach (var item in SerialPortService.SerialPortNames) { Console.Write("\t{0}", item); } Console.WriteLine(); SerialPort 阅读全文
posted @ 2020-01-20 16:26 wesson2019 阅读(667) 评论(0) 推荐(0)
摘要: dd 阅读全文
posted @ 2020-01-09 18:37 wesson2019 阅读(178) 评论(0) 推荐(0)
摘要: using System.Diagnostics; 以静默方式运行bat脚本 Console.WriteLine("同步执行"); Console.WriteLine(CMDHelper.CMDExecute("TimeStampVerificationCode.bat")); Console.Wr 阅读全文
posted @ 2020-01-09 17:54 wesson2019 阅读(579) 评论(0) 推荐(0)
摘要: 升级整体流程 双击主程序(MainWindow.exe),先确定是否升级(升级程序、主程序的版本检查),再定期检查(比如3分钟); 升级程序(AutoUpdate.exe)(与主程序在同级目录下)若更新,直接下载最新并覆盖; 主程序若更新,下载xml升级信息,打开升级程序并关闭主程序,进入升级流程; 阅读全文
posted @ 2019-12-31 21:00 wesson2019 阅读(873) 评论(0) 推荐(0)
摘要: xml 阅读全文
posted @ 2019-12-31 20:57 wesson2019 阅读(417) 评论(0) 推荐(0)
摘要: regex 阅读全文
posted @ 2019-12-31 20:06 wesson2019 阅读(224) 评论(0) 推荐(0)
摘要: 常用类型转换 阅读全文
posted @ 2019-12-31 20:05 wesson2019 阅读(426) 评论(0) 推荐(0)
摘要: Property 属性 Feature 特征 Abttriute 特性 阅读全文
posted @ 2019-12-31 20:04 wesson2019 阅读(127) 评论(0) 推荐(0)
摘要: 下载、HttpClient、WebClient、HttpWebRequest 阅读全文
posted @ 2019-12-31 20:03 wesson2019 阅读(773) 评论(0) 推荐(0)
摘要: Git使用 阅读全文
posted @ 2019-12-31 20:01 wesson2019 阅读(159) 评论(0) 推荐(0)