摘要:
华擎 asrock b365m itx win7蓝牙播放音乐爆音,吱吱吱的杂音。 偶然间,系统换成WIN10后,再用蓝牙耳机听歌,则正常。机箱位置不变。 阅读全文
摘要:
EF 从设计器改为 DB First时遇到 Keyword not supported: 'data source'. 解决方法: 把providerName="System.Data.EntityClient"换为providerName="System.Data.SqlClient"。 Enti 阅读全文
摘要:
工具类: using System; using System.Collections.Generic; using System.IO; using System.Net; namespace CommonUtils { public static class FtpUtil { public s 阅读全文
摘要:
对方服务器使用的是TLS1.3,并关闭了一些算法套件,使得.NET FRAMEWORK 4.8 、.NET 5 都无法连接。 只能用中转方案解决。 nginx配置: #user nobody; worker_processes 1; #error_log logs/error.log; #error 阅读全文
摘要:
项目nuget引用 BouncyCastle。 读取证书 X509Certificate2 x509 = new X509Certificate2(lblPfxPath.Text, txtPfxPwd.Text.Trim(), X509KeyStorageFlags.Exportable); //x 阅读全文
摘要:
X509Certificate2 x509 = new X509Certificate2(lblPfxPath.Text,txtPfxPwd.Text.Trim() ); string xmlpri=x509.PrivateKey.ToXmlString(true); 时报该项不适于在指定状态下使用 阅读全文
摘要:
Open PowerShell as Administator.In the elevated PowerShell window, copy and paste the following command, all at once, and hit Enter to run it. $path = 阅读全文
摘要:
1。下载nginx:http://nginx.org/en/download.html 2.下载win sw:https://github.com/winsw/winsw/releases/tag/v2.11.0 ,下载.NET 4.0 版本,WinSW.NET4.exe。 3.解压nignx压缩包 阅读全文
摘要:
不可见字符DEL 、空格、替换掉。 签名时遇到了客户端发过来的数据包含一个DEL。Notepad++ 里显示为DEL. 包含这个字符签名给上游,就会报错:签名错误。 得想办法replace掉。目前方案是把它relace成字母"a"。 var charDel = (char)0x7F; var cha 阅读全文
摘要:
使用VLC Media Player 步骤1. 在计算机上启动VLC Media Player,点击「媒体」并选择「转换/储存」。 步骤2. 点击「加入」以浏览并打开MP4文件,然后点击「Convert」。 步骤3. 在设定文件中,选择「Audio – MP3」,然后点击「浏览」选择储存转换后文件的 阅读全文