Solved

Licence a DLL File

Posted on 2006-11-27
3
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 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