This is an article about three different licensing systems, using C#.NET environment.
Title: Three different algorithms for constructing licensing systems, their advantages and disadvantages using C# .NET environment.
Abstract: A key validation algorithm is one of the important parts in the protection of a computer application. Even if an already existing API is to be used, it is important to understand its weaknesses in order to compare it with alternative ones. Therefore, in this article, three different categories will be described with clear definitions that will make it possible to distinguish between them and allow an analysis of currently existing APIs. Every category is accompanied with examples and in some cases suggestions for further development. The categories described in this article are Checksum based key validation, Pattern based key validation, and Information based key validation. It is going to be found that the choice of a key validation system depends on the information that is to be stored in the key. It is also concluded that at this point it would be better to use online key validation instead.
In my booklet, Algorithms via C#, a way to make the computer guess the numbers more efficiently is presented (see pp. 12-13). Let’s quickly remind ourselves about the problem: we want to make the computer guess a number, between 0 to 100, with minimal amount of questions. It is concluded that we should start with 50, then 25, then 12, etc., that is, divide 100 by 2^k and depending on if the number is less than what computer guessed, we should either add or subtract this factor.
Everything is correct, but I would like to emphasize that this value can be computed without division.
⌊100/2^1⌋ = 50 = (110010)2
⌊100/2^2⌋ = 25 = (11001)2
⌊100/2^3⌋= 12 = (1100)2
⌊100/2^4⌋= 6 = (110)2
⌊100/2^5⌋= 3 = (11)2
⌊100/2^6⌋= 1 = (1)2
As you can see, in base 2, you simply remove the least significant bit each time. This might save time if you work in radix 2.
CliZ Ware Blog was first published in Nov 2010, although CliZ Ware was actually launched in June 2009. This blog was my primary blog that I used to publish articles with focus on technology news and tips. The blog underwent great changed, for example, the theme was changed several times and also the quality of each article continuously improved, as did my English. I was 14 years when I wrote my first thread and my last thread was written at the age of 17.
Now, I have three other blogs to maintain, that is Mathos Project, Serial Key Manager, and this blog. As you can see, having four blogs can be both time consuming and difficult, but that is not the reason why I decided today to shutdown the blog. The reason is because I thought it would take very much time to improve the layout and the focus of the blog. As I progressed, I learned to keep things in order, and so every blog I maintain at this point is very focused on a specific topic. This blog you are reading right now, however, has a primary emphasis on technology and things I feel to write about. Both the blog I shutdown today and this blog have a common denominator – technology and tips. So, I decided to merge all posts from the old blog to my new blog.
If you came to this page from an external link, I would recommend you to search through this website, because all posts that were in my old blog are copied to this blog.
Please feel free to tell me what you think about it here.
From SKM’s blog:
Today, Serial Key Manager received some final revisions, and in max 2-3 days, the application will be complete. Here is an overview of what’s done so far:
As you might already know, the main idea behind this application is to make generation of serial keys more efficient, and avoid any duplicates, which might be the case in Software Protector. Since many users nowadays prefer to use their browser, the application is hosted online, which makes it possible to access/create/validate your keys anywhere, anytime.
Both SKGL API and Software Protector are open-source application, and hopefully, this website application will give everyone who likes SKGL/Software Protector an opportunity to make a donation and get something in return, in this case, a Premium user in Serial Key Manager.
You might wonder why there are so few posts about Serial Key Manger at this stage. That’s simply because all time and effort is put into making this web application a quality product.
We look forward to any feedback about Serial Key Manger! 🙂
For approx. 1 month ago, I got an idea to develop an application that will solve a problem in Software Protector, namely storage of serial keys. Some users might find it a bit unpractical not being able to save the generated keys, which might be a disadvantage for somewhat bigger projects.
Hopefully, this project will be complete in the nearest time. Please check back soon! 🙂