摘要: var converter = new HtmlConverter(); string html = string.Format("<html><meta http-equiv='content-type' content='text/html; charset=utf-8'><div style= 阅读全文
posted @ 2022-08-16 10:11 极客船长 阅读(302) 评论(0) 推荐(0) 编辑
摘要: http://pic.sogou.com/napi/pc/searchList?mode=21&start=1&xml_len=100&query=" + keyword 阅读全文
posted @ 2022-08-16 10:09 极客船长 阅读(92) 评论(0) 推荐(0) 编辑
摘要: public static void getRank() { var personFaker = new Faker<RandomUA>() .RuleFor(x => x.userAgent, x => x.Internet.UserAgent()); bool hasFound = false; 阅读全文
posted @ 2022-08-16 10:07 极客船长 阅读(169) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 宽带连接,成功返回true,失败返回 false /// </summary> /// <param name="PPPOEname">宽带连接名称</param> /// <param name="username">宽带账号</param> /// <para 阅读全文
posted @ 2022-08-16 10:03 极客船长 阅读(55) 评论(0) 推荐(0) 编辑
摘要: namespace VideoMerger { class Program { static void Main(string[] args) { var physicalPath = @"D:\FFmpeg\videos\"; Stopwatch sw = new Stopwatch(); sw. 阅读全文
posted @ 2022-08-16 10:02 极客船长 阅读(490) 评论(0) 推荐(0) 编辑
摘要: public static long IPToLong(string strIP) { byte[] array = new byte[8]; string[] array2 = strIP.Split(new char[] { '.' }); for (int i = 0; i < 4; i++) 阅读全文
posted @ 2022-08-16 10:00 极客船长 阅读(32) 评论(0) 推荐(0) 编辑