C# Класс ComponentFactory.Krypton.Navigator.EncryptedLicense

Defines an encrypted license for a component or control generated using the Infralution Licensing System.
The Infralution Licensing System provides a secure way of licensing .NET controls, components and applications. Licenses are protected using public key encryption to minimize possibility of cracking.
Наследование: License
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Checksum ( string input ) : string

Returns a four character checksum based on the given input string

This function can be used to generate a short checksum that can be embedded in a license key as ProductInfo. This allows you to tie the license key to information supplied by the user (for instance the name of the purchaser) without having to include the full information in the license key. This enables license keys to be kept reasonably short.

When the license is checked by the application it performs a checksum on the information supplied by the user and checks that it matches the information in the ProductInfo that was generated when the license was issued. The License Tracker application provides support for "CustomGenerators" which allow you provide the code to generate the ProductInfo from customer and other information.

Dispose ( ) : void
EncryptedLicense ( string key, UInt16 serialNo, string productInfo ) : System

Create a new Infralution Encrypted License

Описание методов

Checksum() публичный статический Метод

Returns a four character checksum based on the given input string

This function can be used to generate a short checksum that can be embedded in a license key as ProductInfo. This allows you to tie the license key to information supplied by the user (for instance the name of the purchaser) without having to include the full information in the license key. This enables license keys to be kept reasonably short.

When the license is checked by the application it performs a checksum on the information supplied by the user and checks that it matches the information in the ProductInfo that was generated when the license was issued. The License Tracker application provides support for "CustomGenerators" which allow you provide the code to generate the ProductInfo from customer and other information.

public static Checksum ( string input ) : string
input string The input string to return a checksum for
Результат string

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EncryptedLicense() публичный Метод

Create a new Infralution Encrypted License
public EncryptedLicense ( string key, UInt16 serialNo, string productInfo ) : System
key string The key for the license
serialNo System.UInt16 The serial number of the license
productInfo string The product data associated with the license
Результат System