.NET 序列化生成庫:SKGL
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.