2022年11月2日
摘要: void TestNTFD() { try { try { ServicePointManager.SecurityProtocol = (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)307 阅读全文
posted @ 2022-11-02 14:00 码农小白修炼记 阅读(115) 评论(0) 推荐(0)
摘要: 示例是调用谷歌短网址的API. 1. HttpClient方式: public static async void DoAsyncPost() { DateTime dateBegin = DateTime.Now; string url = @"https://www.googleapis.com 阅读全文
posted @ 2022-11-02 10:06 码农小白修炼记 阅读(174) 评论(0) 推荐(0)