XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.ServerInteractive

[DLL] Server interaction extension, including user identity verification and querying in conjunction with AutoConfig

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFEExtension.NetCore.ServerInteractive

XFEClientRequesterOptions 默认电脑信息自动获取

将 ComputerInfo 默认值改为自动获取唯一硬件ID,增强设备识别能力;新增 DeviceHelper 命名空间引用;项目版本号升级至 2.0.2。

54edd7f
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

2 个文件 +7 -12
Modified XFEExtension.NetCore.ServerInteractive/Options/XFEClientRequesterOptions.cs +4 -2
@@ -1,4 +1,6 @@
1 namespace XFEExtension.NetCore.ServerInteractive.Options;
1 using XFEExtension.NetCore.ServerInteractive.Utilities.Helpers;
2
3 namespace XFEExtension.NetCore.ServerInteractive.Options;
2 4
3 5 /// <summary>
4 6 /// XFE客户端请求器选项
@@ -16,7 +18,7 @@ public class XFEClientRequesterOptions
16 18 /// <summary>
17 19 /// 电脑信息
18 20 /// </summary>
19 public string ComputerInfo { get; set; } = string.Empty;
21 public string ComputerInfo { get; set; } = DeviceHelper.GetUniqueHardwareId();
20 22 /// <summary>
21 23 /// 自动反转义响应内容(针对XFERequestService和XFEClientInstanceRequest的响应内容进行反转义处理,默认为true)
22 24 /// </summary>
Modified XFEExtension.NetCore.ServerInteractive/XFEExtension.NetCore.ServerInteractive.csproj +3 -10
@@ -5,7 +5,7 @@
5 5 <ImplicitUsings>enable</ImplicitUsings>
6 6 <Nullable>enable</Nullable>
7 7 <GenerateDocumentationFile>True</GenerateDocumentationFile>
8 <Version>2.0.1</Version>
8 <Version>2.0.2</Version>
9 9 <Title>XFEExtension.NetCore.ServerInteractive</Title>
10 10 <RepositoryUrl>https://github.com/XFEstudio/XFEExtension.NetCore.ServerInteractive</RepositoryUrl>
11 11 <AnalysisLevel>latest</AnalysisLevel>
@@ -21,16 +21,9 @@
21 21 <PackageReleaseNotes>
22 22 ## 调整
23 23
24 统一IP相关命名,升级依赖并优化接口实现
24 XFEClientRequesterOptions 默认电脑信息自动获取
25 25
26 本次提交主要内容如下:
27
28 - 全面统一与“IP地址”相关的类、属性、方法、服务等命名(如 IpAddress → IPAddress,IpBanner → IPBanner 等),包括 JSON 字段、请求名、参数名等,提升代码一致性。
29 - 同步调整所有接口、抽象类、实现类及配置项的相关属性和委托名,保持命名规范统一。
30 - 适配业务逻辑,确保 IP 判断、存储、序列化、权限校验等环节与新命名一致,用户登录相关 LastIpAddress 也统一为 LastIPAddress。
31 - 客户端与服务端的请求注册、服务注册等同步为新命名,保证前后端一致。
32 - 升级部分依赖包版本,项目自身版本号提升至 2.0.1。
33 - 优化控制台输出及调试信息,保持接口和方法兼容性,便于后续维护和扩展。
26 将 ComputerInfo 默认值改为自动获取唯一硬件ID,增强设备识别能力;新增 DeviceHelper 命名空间引用;项目版本号升级至 2.0.2。
34 27
35 28 ## 新增
36 29