O'Reilly logo

Developing Microsoft® .NET Controls with Microsoft Visual Basic® .NET by John Connell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Licensing a Custom Control

Now that you’ve gone through all the work of building this unique and highly useful control, thoughts have started to bloom about selling this to other developers. Of course, if you simply sell the BiorhythmControl.dll that includes the custom Biorhythm control, there’s nothing to stop an unscrupulous developer from reselling the control or simply giving it to all his friends. Luckily, the .NET Framework provides a few highly customizable license classes to make it straightforward to create a license scheme for your control.

At the 50,000-foot level, the way licensing works is to note that the license manager is part of the framework and responsible for calling the license validation code contained within the license ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required