Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Licence a DLL File

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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

722 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