Solved

Licence a DLL File

Posted on 2006-11-27
3
250 Views
Last Modified: 2010-04-23
Hi All,

I would like to inplement some sort of licencing for my dll files that I have written so that people cannot use my dll's.

I thought of having a function to enable other functions to work after setting a key, but also limiting the use of them in a dev environment, but I don't know if thats possible considering it is a compiled file.

Any thoughts/ideas on this would be greatly appreciated

Thanks
0
Comment
Question by:nzfire
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
newyuppie earned 500 total points
ID: 18025149
you can always choose for a 3rd party licensing software. if you choose that road i would recommend Infralution Licensing System (www.infralution.com) which i use myself.

if you do it yourself, i think you are on the right track. you should probably consider having one master function, something like IsLicensed() that will return a Boolean. Then from every function in your project call IsLicensed before proceeding with any code.

but if you are going to do it from scratch, i can tell you that it will take considerable time and thinking to get done, since you probably will want to encrypt the license keys, check and store values in the registry (such as license numbers, demo dates if you want to issue evaluations, etc).

just my 2 cents
NY
0
 
LVL 1

Author Comment

by:nzfire
ID: 18025280
Hi NY,

Thanks for that. I will create a quick and dirty function to check if is IsLicensed=True and go from there.

For now nothing will to too public so not too worried, and later I will go for the infralution solution i think. It looks pretty good.

Thanks
0
 
LVL 13

Expert Comment

by:newyuppie
ID: 18027093
yeah im very pleased with infralution. anyway, thanks for the points
NY
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now