Files
DP44/docs/ai/DataPRO/DataPRO/Licensing.md
2026-04-17 14:55:32 -04:00

1.8 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/DataPRO/Licensing/LicenseProperty.cs
DataPRO/DataPRO/Licensing/ClientLicense.cs
2026-04-17T15:56:29.097706+00:00 zai-org/GLM-5-FP8 1 3e86a62ee8449d94

Documentation: DataPRO Licensing Module

1. Purpose

This module provides license validation and type classification for the DataPRO application. It consists of two components: LicenseProperty, an auto-generated configuration class that stores build-time license properties (public key, key GUID, and build mode), and ClientLicense, a utility class that validates license files against hardware identifiers, product versions, and expiration dates while providing helper methods to classify license types (Standard, Enterprise, Site licenses, and TSRAir). The module enforces licensing constraints by verifying signatures, matching machine hardware fingerprints for non-site licenses, and ensuring version compatibility.


2. Public Interface

LicenseProperty (static class)

Namespace: DataPROWin7
Accessibility: internal static

Property Type Description
PublicKey string Auto-generated public key, defaults to "00000000-0000-0000-0000-000000000000"
KeyGuid string Auto-generated key GUID, defaults to "00000000-0000-0000-0000-000000000000"
BuildMode string Build mode indicator, defaults to "Debug"

ClientLicense (static class)

Namespace: DataPROWin7.Licensing
Accessibility: internal static

Method Signature Description
IsSiteLicense bool IsSiteLicense(DataProLicensingEnums.LicenseType licenseType) Returns true if licenseType is EnterpriseSite, StandardSite, or TSRAir