How to make installer with serial number for my application?

Help please!

A really basic way would be to hash their input key and compare it with a constant hash key. It's important to keep the constant key hashed so that the actual key can't be determined.

MD5 is a pretty decent hashing algorithm you could check out. There's lots of other (much more secure) ones out there as well.

commented: An easy and nice approach to the problem :) +3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.