RegisterSrv.AutoUpdate 1.3.2

dotnet add package RegisterSrv.AutoUpdate --version 1.3.2
                    
NuGet\Install-Package RegisterSrv.AutoUpdate -Version 1.3.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RegisterSrv.AutoUpdate" Version="1.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RegisterSrv.AutoUpdate" Version="1.3.2" />
                    
Directory.Packages.props
<PackageReference Include="RegisterSrv.AutoUpdate" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RegisterSrv.AutoUpdate --version 1.3.2
                    
#r "nuget: RegisterSrv.AutoUpdate, 1.3.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RegisterSrv.AutoUpdate@1.3.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RegisterSrv.AutoUpdate&version=1.3.2
                    
Install as a Cake Addin
#tool nuget:?package=RegisterSrv.AutoUpdate&version=1.3.2
                    
Install as a Cake Tool

RegisterSrv 客户端自动更新组件:版本检查、自动下载、安装更新、新进程升级(Updater.exe)。

Product Compatible and additional computed target framework versions.
.NET net9.0-windows7.0 is compatible.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.2 107 10/27/2026
1.3.1 125 9/9/2026
1.3.0 126 9/9/2026
1.0.1 257 9/30/2025
1.0.0 226 9/30/2025

v1.3.2 (2026-10-27): [hotfix] 修复 CDN 防盗链导致升级包下载 403
 • UpdateClient 下载升级包时自动补 Referer 请求头(新增内部 AntiHotlinkHeaders)。
   背景:升级包放在腾讯云 COS 桶前面挂了 CDN,CDN 控制台开了「Referer 防盗链」,
   只放行主机名恰好等于站点主域(如 ujuji.cn)的请求。HttpClient 默认不发 Referer,
   因此下载会被 CDN 判 403,表现为「下载失败: HTTP 403」。
 • Referer 的主机从「客户端自己配置的更新服务器地址」推导主域(最后两段),
   私有化部署时即为客户自己的域名,自动适配其 CDN 白名单。
 • 显式启用 HttpClientHandler.AllowAutoRedirect(跟随服务端 302 → CDN 直链)。
 • 配合 RegisterSrv.ClientSDK 1.3.2 同步发版;无对外 API 变更。
v1.3.1 (2026-09-10): [hotfix] 配合 RegisterSrv.ClientSDK 1.3.1 同步升级编号;包内无变更。
v1.3.0 (2026-09-09): 配合 RegisterSrv.ClientSDK 1.3.0 同步发版;修复 RepositoryUrl 死链。