Solved

Licence a DLL File

Posted on 2006-11-27
3
246 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 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

19 Experts available now in Live!

Get 1:1 Help Now