.NET 序列化生成庫:SKGL

jopen 9年前發布 | 13K 次閱讀 SKGL .NET開發

SKGL – Serial Key Generating Library 是簡單的 .NET 序列化生成庫。

主要功能:

  • 創建和驗證人類可讀的序列號密鑰

  • 簡單的 20 個字符格式:MUYVD-LSEBY-CXHRQ-XFAGY

  • 添加 8 個不同的特性

  • 設置時間限制 (最多 999 天)

  • 為特定機器設置 Lock keys

How to use

There are a lots of ways that you can use this library. First of all, you can use an already existing GUI that I did. Secondly, you can use the library by adding it as a reference into your project. Both these ways allows you to create, validate, and configure your keys.

In Software Protector you have two buttons: to create a key "Generate", and to validate a key "Validate"

 

However, you can also include the library into your project. This is how simple it is to create a key: (in Visual Basic)

However, you can also include the library into your project. This is how simple it is to create a key: (in Visual Basic)

Dim CreateAKey As New SKGL.Generate ' creating an object
CreateAKey.secretPhase = "My$ecretPa$$W0rd" ' adding a password
TextBox1.Text = CreateAKey.doKey(30) ' generating a key; 30 is the time left.


And this is how simple you can validate a key: (in Visual Basic)

Dim ValidateAKey As New SKGL.Validate ' create an object
ValidateAKey.secretPhase = "My$ecretPa$$W0rd" ' the passsword
ValidateAKey.Key = "LMFME-OTQAF-JVBUP-OKFGP" ' enter a valid key
Console.WriteLine(ValidateAKey.IsValid) ' check whether the key has been modified or not


Remember that the secretPhase should be the same in order to get a valid key.

項目主頁:http://www.baiduhome.net/lib/view/home/1436324680770

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!