Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

syncfusion-wpf-licensing同步融合 WPF 许可

Agent Skill

syncfusion-wpf-licensing 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,048

周安装

42

GitHub Stars

2

下载量

339
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-wpf-licensing(同步融合 WPF 许可)
来源仓库:https://github.com/syncfusion/wpf-ui-components-skills
仓库路径:skills/syncfusion-wpf-licensing
安装命令:
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-licensing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-licensing

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理与分析。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • syncfusion-wpf-licensing 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Implementing Syncfusion Licensing

A comprehensive guide for generating, registering, and troubleshooting Syncfusion license keys across all platforms (WPF, Blazor, React, MAUI, Angular, Vue, ASP.NET Core, etc.).

Overview

Starting with version 16.2.0.x, Syncfusion introduced a licensing system that applies to:

  • All evaluators using trial installers
  • Paid customers using NuGet packages from nuget.org

If you use the evaluation installer or NuGet packages, you must register a valid license key in your application to avoid license validation messages.

Key Points:

  • License keys are version and platform specific
  • Registration is done offline (no internet connection required)
  • Different from the installer unlock key
  • Required for NuGet packages from nuget.org and trial installers
  • NOT required for licensed installers (assemblies from licensed installation)

When to Use This Skill

Use this skill immediately when users need to:

  • Generate license keys for Syncfusion components
  • Register license keys in their applications (WPF, Blazor, React, etc.)
  • Troubleshoot licensing errors (trial expired, invalid key, platform/version mismatch)
  • Set up CI/CD license validation (Azure Pipelines, GitHub Actions, Jenkins)
  • Upgrade from trial to licensed version
  • Understand license vs unlock key differences
  • Configure build server licensing
  • Resolve "license validation message" errors
  • Register Syncfusion accounts for NuGet.org users
  • Validate licenses programmatically using ValidateLicense() method

Understanding License Types

When License Registration is Required

Syncfusion SourceLicense Registration Required?Notes
NuGet packages (nuget.org)✅ YESVersion and platform specific key required
Trial installer✅ YESFree 30-day trial key required
Licensed installer❌ NONo registration needed

License Key vs Unlock Key

  • License Key: Registered in application code using SyncfusionLicenseProvider.RegisterLicense()
  • Unlock Key: Used to unlock the Syncfusion installer (older system)
  • These are different keys and serve different purposes

Documentation and Navigation Guide

Getting Started with Licensing

📄 Read: references/overview-and-differences.md

  • Licensing system overview
  • License key vs unlock key differences
  • When license keys are required (NuGet, trial, licensed installers)
  • Build server licensing requirements
  • Platform and version specificity
  • Registering keys in build environments

Generating License Keys

📄 Read: references/generating-license-keys.md

  • Where to generate keys (License & Downloads, Trial & Downloads)
  • Using the "Claim License Key" feature
  • Handling active licenses vs active trials
  • Dealing with expired licenses (temporary 5-day keys)
  • Platform and version selection guidance

Registering License Keys

📄 Read: references/registering-license-keys.md

  • Platform-specific registration code placement
  • WPF: App.xaml.cs constructor registration (C# and VB)
  • Blazor, React, Angular, Vue, MAUI registration patterns
  • Syncfusion.Licensing.dll requirements
  • Offline validation capabilities
  • Registration code examples

Troubleshooting Licensing Errors

📄 Read: references/licensing-errors.md

  • "License key not registered" error
  • "Invalid key" error
  • "Trial expired" error
  • "Platform mismatch" error
  • "Version mismatch" error
  • "Could not load Syncfusion.Licensing.dll" error
  • Solutions for each error type
  • Copy Local settings for assemblies
  • Error messages by version (16.2.0+ vs 20.3.0+)

CI/CD License Validation

📄 Read: references/ci-license-validation.md

  • CI/CD validation guidance (programmatic validation, unit-test validation, or internally-hosted artifacts). Do NOT download or execute unvetted external binaries in pipelines.
  • Azure Pipelines (YAML and Classic) integration
  • GitHub Actions integration
  • Jenkins pipeline integration
  • ValidateLicense() method for programmatic validation
  • Unit test project validation approach
  • Preventing licensing errors during deployment

Upgrading and Account Setup

📄 Read: references/upgrading-and-account-setup.md

  • Upgrading from trial version after purchasing a license
  • Uninstall and reinstall process
  • Replacing trial keys with paid license keys
  • Registering Syncfusion account for NuGet.org users
  • Starting free 30-day trials
  • Internet connection requirements (offline validation works)

Quick Start Example

⚠️ SECURITY WARNING

DO NOT hardcode license keys in your code. License keys are secrets and must be stored securely. See the SECURITY_ANALYSIS.md document for secure credential handling patterns.

WPF Application (Secure with Environment Variable)

// In App.xaml.cs
using Syncfusion.Licensing;

public partial class App : Application
{
    public App()
    {
        // SECURE: Read from environment variable
        string licenseKey = Environment.GetEnvironmentVariable("SYNCFUSION_LICENSE_KEY")
            ?? throw new InvalidOperationException(
                "SYNCFUSION_LICENSE_KEY environment variable not set");

        // Register Syncfusion license key BEFORE initializing any components
        SyncfusionLicenseProvider.RegisterLicense(licenseKey);

        InitializeComponent();
    }
}

Set environment variable before running:

# Windows Command Prompt
setx SYNCFUSION_LICENSE_KEY "your_actual_license_key"

# Windows PowerShell
$env:SYNCFUSION_LICENSE_KEY = "your_actual_license_key"

Blazor Server (Secure with Configuration)

// In Program.cs
using Syncfusion.Licensing;

var builder = WebApplication.CreateBuilder(args);

// SECURE: Read from configuration (loaded from environment variables or appsettings.json)
var licenseKey = builder.Configuration["Syncfusion:LicenseKey"]
    ?? throw new InvalidOperationException(
        "Syncfusion:LicenseKey not configured. " +
        "Set SYNCFUSION_LICENSE_KEY environment variable or add to appsettings.json");

// Register license key at application startup
SyncfusionLicenseProvider.RegisterLicense(licenseKey);

// ... rest of your configuration

Environment Setup:

# Set environment variable
set SYNCFUSION_LICENSE_KEY=your_license_key

# Or use user secrets in development
dotnet user-secrets set "Syncfusion:LicenseKey" "your_license_key"

React/Angular/Vue (Secure with Environment Variables)

// In your main entry point (e.g., index.js, main.ts)
import { registerLicense } from '@syncfusion/ej2-base';

// SECURE: Read from environment variable (via process.env or import.meta.env)
const licenseKey = process.env.REACT_APP_SYNCFUSION_LICENSE_KEY;

if (!licenseKey) {
    console.error('REACT_APP_SYNCFUSION_LICENSE_KEY environment variable not set');
    throw new Error('License key not configured');
}

// Register license key before rendering components
registerLicense(licenseKey);

Environment Setup (.env file):

REACT_APP_SYNCFUSION_LICENSE_KEY=your_actual_license_key

Important: Add .env and .env.local to .gitignore to prevent accidental key commits.

Common Licensing Scenarios

Scenario 1: Trial User Setup

  1. Register for a free Syncfusion account
  2. Start a 30-day trial from the account portal
  3. Generate trial license key from Trial & Downloads section
  4. Register the key in your application using RegisterLicense()
  5. Trial key expires after 30 days

Scenario 2: Licensed User Setup

  1. Log in to your Syncfusion account
  2. Go to License & Downloads section
  3. Generate license key for your specific version and platform
  4. Register the key in your application using RegisterLicense()
  5. Key is valid for the specified version and platform

Scenario 3: NuGet.org User Setup

  1. Using Syncfusion packages from nuget.org requires license registration
  2. Register for a Syncfusion account if you don't have one
  3. Start a trial or purchase a license
  4. Generate and register the license key
  5. Without registration, you'll see license validation warnings

Scenario 4: Build Server / CI/CD

  1. License registration is required on build servers using NuGet packages
  2. Use any developer license to generate keys for build environments
  3. Register the key in your application code
  4. Optionally set up CI license validation to catch errors early
  5. No internet connection needed during build (offline validation)

Scenario 5: Upgrading from Trial

  1. Purchase a Syncfusion license
  2. Option A: Uninstall trial installer, install licensed version from License & Downloads
  3. Option B: If using NuGet, generate paid license key and replace trial key
  4. Licensed installer assemblies don't require key registration
  5. NuGet packages always require key registration

Key Concepts

Platform and Version Specificity

  • License keys are version-specific: Key for v26.1.35 won't work for v26.2.4
  • License keys are platform-specific: WPF key won't work for Blazor
  • Generate separate keys for each platform/version combination
  • Use the correct version in your RegisterLicense() call

Offline Validation

  • License validation happens offline during application execution
  • No internet connection required for apps to run
  • You can deploy to air-gapped systems
  • Validation checks happen at application startup

Build Servers

  • Build servers using NuGet packages need license registration
  • Use any developer license to generate keys for CI/CD
  • Licensed installer assemblies on build servers don't need keys
  • Set up CI validation to prevent deployment errors

Syncfusion.Licensing.dll

  • Required assembly for license registration
  • Ensure it's referenced in projects using RegisterLicense()
  • Set "Copy Local" to true to include in output
  • Available via NuGet: Syncfusion.Licensing

Registration Best Practices

  1. Register early: Call RegisterLicense() before initializing any Syncfusion components
  2. One registration per app: Only need to register once at startup
  3. Use secure storage: ✅ Environment variables, ✅ Configuration files, ✅ Secrets managers (Azure Key Vault, AWS Secrets Manager) | ❌ NOT hardcoded string literals
  4. Version matching: Ensure all Syncfusion packages use the same version
  5. Never hardcode keys: Store keys in environment variables or secure configuration systems
  6. Use.gitignore: Exclude configuration files containing secrets from version control
  7. CI/CD validation: Use programmatic validation methods instead of external tool downloads
  8. Rotate keys regularly: Update license keys periodically and revoke old keys
  9. Audit access: Monitor and log all license key access and usage

⚠️ SECURITY ALERT: See SECURITY_ANALYSIS.md for detailed guidance on secure credential handling and CI/CD validation patterns.

Error Prevention Checklist

Before deploying your application:

  • License key generated for correct version and platform
  • RegisterLicense() called before any Syncfusion component initialization
  • All Syncfusion NuGet packages are the same version
  • Syncfusion.Licensing.dll is referenced and has "Copy Local" = true
  • License key matches the version of Syncfusion packages in use
  • For CI/CD: License validation configured in build pipeline
  • License key stored securely (not hardcoded in public repos)

Related Skills

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.93%
按下载量换算129

Claude

29.91%
按下载量换算101

Cursor

19.88%
按下载量换算67

Gemini CLI

9.32%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills