Looking for a component to validate a license key...

J

Jéjé

Hi,

I want to integrate into some components (webcontrols, custom DLL, custom
command lines tools...) a license validation.

The license will be attached to the client's name and the primary hard drive
ID of the customer computer. (or any combination to make sure that the tools
are installed on 1 computer only)
For Each new client or new server deployed, the customer must ask us, then
we generate a key.

Any sample code for this?

thanks.

Jerome.
 
H

Herfried K. Wagner [MVP]

Jéjé said:
I want to integrate into some components (webcontrols, custom DLL, custom
command lines tools...) a license validation.

The license will be attached to the client's name and the primary hard
drive ID of the customer computer. (or any combination to make sure that
the tools are installed on 1 computer only)

I think that this is not a good solotion if you don't have enough money to
provide a 24/7 support hotline :). Harddisks are often replaced because of
a defect.

..NET's licensing mechanisms:

..NET Framework Developer's Guide -- Licensing Components and Controls
<URL:http://msdn.microsoft.com/library/en-us/cpguide/html/cpconlicensingcomponentscontrols.asp>

..NET Licensing
<URL:http://windowsforms.net/articles/Licensing.aspx>

Commercial components:

XHEO|Licensing
<URL:http://www.xheo.com/products/enterprise/licensing/>
 
J

Jéjé

the number of client is limited (10 to 50).
and generally we do the installation of the servers.

but we want to secure some part of our applications in case of... :)

so the support is not an issue.

I have to call this key validator from VBScript code as well as from .Net
code.
From a VBScript code point of view its just a call like:
Dim obj
Set obj = CreateObject("XXXX.XXXX")
if obj.KeyValid() then
-- do something
else
-- Raise error
end if

This VBScript code is embedding in a scripted code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top