runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 68 下一页

2021年4月6日

摘要: 1.nuget 中安装log4net 2。添加一个配置文件“log4net2.config”,内容如下: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="log4net" 阅读全文
posted @ 2021-04-06 18:04 runliuv 阅读(169) 评论(1) 推荐(0) 编辑

2021年4月1日

摘要: namespace CommonUtils { public static class TimeStampUtil { /// <summary> /// 获取时间戳 10位 /// </summary> /// <returns></returns> public static long GetT 阅读全文
posted @ 2021-04-01 16:05 runliuv 阅读(170) 评论(0) 推荐(0) 编辑

2021年3月17日

摘要: 10 位时间戳: public static long GetTimeStampTen() { return (DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000; } 13 位时间戳: //当前时间转换13位时 阅读全文
posted @ 2021-03-17 11:29 runliuv 阅读(73) 评论(0) 推荐(0) 编辑

2021年3月4日

摘要: 引用:https://www.cnblogs.com/moonbaby/p/11188135.html 1)显示本机保存的profiles,配置文件是以wifi的ssid命名的. netsh wlan show profiles 2)用netsh wlan connect name=xxxxx 连接 阅读全文
posted @ 2021-03-04 15:24 runliuv 阅读(657) 评论(0) 推荐(0) 编辑

2021年2月12日

摘要: 解决方法: 换个USB口。 阅读全文
posted @ 2021-02-12 22:48 runliuv 阅读(67) 评论(0) 推荐(0) 编辑

2021年2月5日

摘要: 参考:https://jingyan.baidu.com/article/29697b911c1c4cab20de3c0f.html 1.打开 http://www.tenaa.com.cn/ ,点击网上服务 2.点击“证书查询”命令 3.在“证书查询”页面,点击“显示更多查询条件”命令。 4.在“ 阅读全文
posted @ 2021-02-05 11:15 runliuv 阅读(619) 评论(0) 推荐(0) 编辑

2021年1月28日

摘要: C# JAVA urlencode 默认是不兼容的。C# 需要encode的部分是小写。JAVA 需要encode的部分是大写。 /// <summary> /// java UrlEncode 特点是:需要UrlEncode字符,UrlEncode后要大写。 /// </summary> /// 阅读全文
posted @ 2021-01-28 12:15 runliuv 阅读(202) 评论(0) 推荐(0) 编辑

2021年1月26日

摘要: 请求被中止: 未能创建 SSL/TLS 安全通道。 用mmc 给私钥证书添加Everyone 的权限。 阅读全文
posted @ 2021-01-26 10:10 runliuv 阅读(164) 评论(0) 推荐(0) 编辑

2021年1月20日

摘要: public static X509Certificate2 GetCertificate(string commonName, StoreName storeName) { X509Certificate2 certificate = null; // Look for a certificate 阅读全文
posted @ 2021-01-20 10:44 runliuv 阅读(384) 评论(0) 推荐(0) 编辑

摘要: public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) { #region 自签名证书,跳过 if (! 阅读全文
posted @ 2021-01-20 10:42 runliuv 阅读(709) 评论(0) 推荐(0) 编辑

上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 68 下一页