ZL.License
2.2.18
See the version list below for details.
dotnet add package ZL.License --version 2.2.18
NuGet\Install-Package ZL.License -Version 2.2.18
<PackageReference Include="ZL.License" Version="2.2.18" />
<PackageVersion Include="ZL.License" Version="2.2.18" />
<PackageReference Include="ZL.License" />
paket add ZL.License --version 2.2.18
#r "nuget: ZL.License, 2.2.18"
#:package ZL.License@2.2.18
#addin nuget:?package=ZL.License&version=2.2.18
#tool nuget:?package=ZL.License&version=2.2.18
ZL.License
轻量授权校验库:机器码绑定、试用期、签名验证。
装什么
dotnet add package ZL.License
用法
// 初始化(启动时一次)
LicenseManager.Initialize(new LicenseOptions
{
ProductId = "your-product",
PublicKey = "<RSA 公钥>",
TrialDays = 30,
});
// 校验
if (!LicenseManager.Current.IsValid)
throw new InvalidOperationException(LicenseManager.Current.Message);
特性
- 离线校验:RSA 签名,无需联网
- 机器绑定:CPU + 主板 + 磁盘序列号哈希
- 试用期:首次运行写注册表/文件,防回拨
- Release 构建自动关闭
DevMode(防止生产包被绕过)
边界
- 只做校验,不负责证书签发(签发工具在你自己的授权系统)
- 授权文件格式变更需同步升级本包
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- System.Management (>= 10.0.1)
-
net10.0
- System.Management (>= 10.0.1)
-
net8.0
- System.Management (>= 10.0.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ZL.License:
| Package | Downloads |
|---|---|
|
ZL.IotHub
工业 PLC 数据采集运行时(.NET:netstandard2.0 / net48 / net8.0 / net10.0)。解决的不是「能不能连上 PLC」,而是「连上之后」:几百上千个点位如何采得快、采得稳,坏一个点如何不拖垮整块。实测 300 个点位合并为 4 个块(请求数减少 98.67%),稳定场景约 670 次读取/秒、约 50,277 点位/秒;内置坏点隔离(Quarantine)与变化上报(Deadband)、多速率采样、实时通知订阅、OPC UA 服务端与嵌入式诊断(报告可落盘 JSON/Markdown)。原生驱动覆盖:西门子、三菱(MC/A1E/FX/FX-Links)、松下(MEWTOCOL)、基恩士、欧姆龙(FINS/HostLink)、Allen-Bradley(CIP)、倍福(ADS)、Fatek、Modbus(TCP/RTU/RTU-over-TCP/ASCII)、台达、汇川、信捷、埃斯顿、麦格米特、DALI、DLMS、M-Bus、HART-IP、MTConnect、HTTP-REST、DNP3(TCP;最小可用:Class-0 连通性探测 + 单点读,写入待补)与串口。免费额度:≤10 台设备、协议全开,可直接用于生产验证;>10 台需正式设备授权(一次性设备授权码)。授权咨询:微信 qwdingyu |
|
|
ZL.IotEngine
工业 PLC 数据采集运行时内核(.NET:netstandard2.0 / net48 / net8.0 / net10.0)——编排、地址合并、批量采集、变化上报与事件通知。解决的不是「能不能连上 PLC」,而是「连上之后」:几百上千个点位如何采得快、采得稳,坏一个点如何不拖垮整块。实测 300 个点位合并为 4 个块(请求数减少 98.67%),稳定场景约 670 次读取/秒、约 50,277 点位/秒;内置坏点隔离(Quarantine)与变化上报(Deadband)、多速率采样、实时通知订阅、OPC UA 服务端与嵌入式诊断(报告可落盘 JSON/Markdown)。⚠️ 协议驱动在**配套插件包 ZL.IotDriver**(本包不引用它,需另行引用;宿主输出目录存在 ZL.Iot*.dll 即自动加载)。驱动覆盖:西门子、三菱(MC/A1E/FX/FX-Links)、松下(MEWTOCOL)、基恩士、欧姆龙(FINS/HostLink)、Allen-Bradley(CIP)、倍福(ADS)、Fatek、Modbus(TCP/RTU/RTU-over-TCP/ASCII)、台达、汇川、信捷、埃斯顿、麦格米特、DALI、DLMS、M-Bus、HART-IP、MTConnect、HTTP-REST、DNP3(TCP;最小可用:Class-0 连通性探测 + 单点读,写入待补)与串口。免费额度:≤10 台设备、协议全开,可直接用于生产验证;>10 台需正式设备授权(一次性设备授权码)。授权咨询:微信 qwdingyu |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.19 | 0 | 11/7/2026 |
| 2.2.18 | 8 | 11/7/2026 |
| 2.2.17 | 229 | 10/27/2026 |
| 2.2.16-beta.3 | 88 | 10/15/2026 |
| 2.2.16-beta.2 | 100 | 10/15/2026 |
| 2.2.15 | 221 | 10/8/2026 |
| 2.2.14 | 212 | 10/6/2026 |
| 2.2.13 | 215 | 9/29/2026 |
| 2.2.12 | 221 | 9/28/2026 |
| 2.2.11 | 243 | 9/23/2026 |
| 2.2.10 | 190 | 9/21/2026 |
| 2.2.8 | 212 | 9/11/2026 |
| 2.2.7 | 191 | 9/11/2026 |
| 2.2.6 | 181 | 9/10/2026 |
| 2.2.5 | 190 | 9/10/2026 |
| 2.2.4 | 234 | 9/6/2026 |
| 2.2.3 | 200 | 9/4/2026 |