02 2022 档案
摘要:QFile file; file.copy(":/xxx","需要复制到的目录"); 示例: QFile file; file.copy(":/server.exe","c:\\windows\\system32\\server.exe");
阅读全文
摘要:QQmlEngine eengine; QQmlComponent component(&eengine, QUrl(QStringLiteral("qrc:/main.qml"))); QObject *object = component.create(); File file(object);
阅读全文
摘要:serAddr.sin_family = AF_INET;//IP地址族 serAddr.sin_port = htons(port);//服务端端口 in_addr in4; inet_pton(AF_INET, ip, &in4); serAddr.sin_addr = in4;
阅读全文
摘要:socks5 connect ATYP 完成第一次交互,socks5服务器准备第二次返回数据的时候 如果你的ATYP不想返回原始的并且想偷懒将ATYP设为\x01 并将后面置0即可 否则SSL连接过程中会出错 我自己编写的socks5服务器出现了问题,当我百度的时候并没有找到相关的问题 寻思了很久才
阅读全文
摘要:QStringList MainWindow::getAllFile(QString Dirpath) { qDebug()<<"entry Dir "<<Dirpath; QStringList filePathNames; QDir splDir(Dirpath); QFileInfoList
阅读全文
摘要:估计是你打算重新build实体代码,并且你的代码已经引用到实体类,还报错了,先解决错误再重新生成实体
阅读全文
摘要:安装包搜索: Swashbuckle.AspNetCore 安装 public void ConfigureServices(IServiceCollection services) { services.AddControllers(); services.AddSwaggerGen(); } p
阅读全文
摘要:安装包 Microsoft.AspNetCore.Mvc.NewtonsoftJson public void ConfigureServices(IServiceCollection services) { services.AddControllers().AddNewtonsoftJson()
阅读全文
摘要:<Project> <PropertyGroup Label="Configuration"> <SpectreMitigation>false</SpectreMitigation> </PropertyGroup> </Project> 加上这个就可以了
阅读全文
摘要:对应位数的SSL库要装上,然后添加到系统变量,安装过程中,应该会提示DLL安装到系统路径还是安装路径
阅读全文
摘要:一、安装ocelot 建议项目用.net core 5 二、配置路由 { "Routes": [ { "DownstreamPathTemplate": "/", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "1
阅读全文
摘要:下载包 microsoft.aspnetcore.mvc.newtonsoftjson ...Services.AddControllers().AddNewtonsoftJson();... 即可
阅读全文

浙公网安备 33010602011771号