This is a rather difficult question. Many people will say that
you need to purchase the software in order to get a licence
number. The problem with this suggestion is that it costs
money, same as when buying bread, or a car. A low-cost
alternative would be to write your own software.