Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Licence a DLL File

Posted on 2006-11-27
3
Medium Priority
?
257 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

927 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