C# 클래스 ComponentFactory.Krypton.Ribbon.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
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
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

Cleans up any resources held by the license

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() 공개 메소드

Cleans up any resources held by the license
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