上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 最正确的一种: 阅读全文
posted @ 2019-06-12 14:34 饮木 阅读(3451) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_34190136/article/details/85989221 阅读全文
posted @ 2019-06-10 16:47 饮木 阅读(1607) 评论(0) 推荐(0) 编辑
摘要: 解决方案 使用Referer Meta标签控制referer,在H5 的 header加入meta: <meta name="referrer" content="never"> 阅读全文
posted @ 2019-06-10 16:46 饮木 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 第一种: 阅读全文
posted @ 2019-06-10 16:12 饮木 阅读(4929) 评论(0) 推荐(1) 编辑
摘要: 在TabControl中的TabPage选项卡中添加Form窗体 阅读全文
posted @ 2019-06-10 14:30 饮木 阅读(2892) 评论(0) 推荐(0) 编辑
摘要: 第一种: Regex reg = new Regex(“”); string htmlCode = "(?<= src=\").*(?=\" alt)"; Match match = reg.Match(htmlCode); string url = match.value; 阅读全文
posted @ 2019-06-10 14:07 饮木 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 第一种: 阅读全文
posted @ 2019-06-10 14:00 饮木 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: 第一种: 第二种: 它们都一次将文本内容全部读完,并返回一个包含全部文本内容的字符串string str = File.ReadAllText(@"c:\temp\ascii.txt");// 也可以指定编码方式 string str2 = File.ReadAllText(@"c:\temp\as 阅读全文
posted @ 2019-06-09 21:34 饮木 阅读(12123) 评论(0) 推荐(0) 编辑
摘要: 第一种: 第二种: 阅读全文
posted @ 2019-06-09 17:26 饮木 阅读(1251) 评论(0) 推荐(0) 编辑
摘要: /// /// 下载网络资源 /// /// 地址 /// 保存下载文件的路径,例:"e:\\1.png" private void DownLoadFiled(string url, string path) { WebClient webClient = new WebClient(); webClient.DownloadFile(url, path); } 阅读全文
posted @ 2019-06-09 13:09 饮木 阅读(428) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页