zplCore.comzplCore.com

ZplLicenseInfo

public sealed class ZplLicenseInfo

Contents of a verified licence key. Only zplCore creates these (from a verified key): the init setters are internal so a caller cannot build a valid-looking licence. The read properties stay public.

Properties

PropertyTypeDescription
Attribution { get; }boolThe key requires the "by zplCore.com" attribution on every label, also when licensed (keys of zplCore.com's own services: a key that leaks cannot produce unmarked labels). See ZplCoreLicense.Attribution.
Id { get; }stringLicence number (e.g. "ZC-2026-0001").
Issued { get; }DateOnlyDay the key was issued.
KeyId { get; }stringId of the signing key the key was verified with.
Licensee { get; }stringLicensee (company name).
Products { get; }IReadOnlyList<ZplLicensedProduct>

Methods

Method SignatureReturnsDescription
# For(ZplLicenseProduct product)ZplLicensedProductThe entry for product, or null when the key does not cover it.
# ToString()string