SoftwareVersion.Client 1.0.9

dotnet add package SoftwareVersion.Client --version 1.0.9
NuGet\Install-Package SoftwareVersion.Client -Version 1.0.9
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="SoftwareVersion.Client" Version="1.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SoftwareVersion.Client --version 1.0.9
#r "nuget: SoftwareVersion.Client, 1.0.9"
#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.
// Install SoftwareVersion.Client as a Cake Addin
#addin nuget:?package=SoftwareVersion.Client&version=1.0.9

// Install SoftwareVersion.Client as a Cake Tool
#tool nuget:?package=SoftwareVersion.Client&version=1.0.9

Software Version Manager

<img src="SVM.png" alt="SVM" height="150px" />

软件版本管理器是一个让软件支持更新和激活检查的网站和类库

通过使用SVM,您可以很方便的通知用户升级他们的软件并告知升级项目

以及为您的软件设置激活码,并且可以随时撤销或修改激活信息

该项目兼容 WordWebCMS 您可以共享用户信息从您的博客/论坛至软件版本管理器

项目文件解释

SoftwareVerison.Manager

一个网站可以

  1. 让软件检查更新版本并提示用户升级
  2. 让软件校对激活码确保激活码有效并对用户开放更多功能
  3. 管理员可以发放更多激活码和为软件做出升级提醒
  4. 用户可以检查自己的激活码并修改激活设备

SoftwareVersion.Client

一个类库可以

  1. 让软件检查更新版本并提示用户升级
  2. 让软件校对激活码确保激活码有效并对用户开放更多功能

使用&部署

SoftwareVerison.Manager

Software Version Manager 暂时未开发完毕 不推荐进行部署 (虽然说你也可以自己改了直接发)

部署方法:
  1. 运行 setup.sql (注:如果是共用用户数据库 不需要运行创建用户表 见setup.sql:L7里的详细注释
  2. 修改 Web.config 中 connStr 和 connUsrStr 为自己的数据库连接方式 用户数据若使用相同数据库 则写一样的即可
  3. app.publish 内容上传至网站服务器根目录(不是根目录可能需要在设置内修改目录位置)

SoftwareVersion.Client

  1. 通过Parckage Manager
Install-Package SoftwareVersion.Client
  1. 通过nuget.org

    https://www.nuget.org/packages/SoftwareVersion.Client/

SoftwareVerison.Manager 网页API

通过网页API,可以让其他网站接入并执行生成秘钥等操作

API链接为 API.ashx

基本参数

usr

用户名

pas

用户密码

action

功能选择,目前有以下几种功能

  • create 创建新秘钥

功能:创建新秘钥

创建并返回新秘钥,该功能需有管理员权限

soft

软件名称, 多个软件以','隔开 支持激活多个程序

times

可激活新电脑次数, 默认5次

uid

绑定用户id -1为不绑定 默认为-1

ver

可激活的版本 -1为不限版本 默认为-1

exp

失效日期 在此日期后激活码失效 默认为2099/01/01

ill

描述(给用户)

mark

备注(给管理员)

示例

api.ashx?usr=admin&pas=password&action=create&soft=myapp&mark=API测试
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 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.0.9 291 1/10/2023
1.0.8 378 9/9/2022
1.0.7 464 9/9/2022
1.0.5 417 3/1/2022
1.0.4 397 3/1/2022
1.0.3 397 3/1/2022
1.0.2 315 10/20/2021
1.0.0 270 9/6/2021

显示更新提示时将不会显示当前版本