2024年2月5日

C#文件压缩

摘要: 写数据 public static void FileZip() { string filePath = "D:\\测试"; string fileName = filePath + "\\test.txt"; if (!Directory.Exists(filePath)) { Directory 阅读全文

posted @ 2024-02-05 10:26 棽犹 阅读(25) 评论(0) 推荐(0) 编辑

c#http请求

摘要: 一、HttpWebRequest public string Post(string url, string data) { Stream dataStream = null; HttpWebRequest request = null; HttpWebResponse response = nul 阅读全文

posted @ 2024-02-05 09:46 棽犹 阅读(58) 评论(0) 推荐(0) 编辑

导航