473,800 Members | 2,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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.
Nov 21 '05 #1
2 1503
"Jéjé" <willgart_A_@ho tmail_A_.com> schrieb:
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/cpconlicensingc omponentscontro ls.asp>

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

Commercial components:

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

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
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("X XXX.XXXX")
if obj.KeyValid() then
-- do something
else
-- Raise error
end if

This VBScript code is embedding in a scripted code.
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
"Jéjé" <willgart_A_@ho tmail_A_.com> schrieb:
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/cpconlicensingc omponentscontro ls.asp>

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

Commercial components:

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

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1669
by: Neil Davidson | last post by:
We have a component without a user interface which we want to license at design time. If someone has a design-time license then they should be able to compile applications using the component, but if they do not have a design time license then they should not be able to do this. The component does not have a user interface so its constructor is never called at design- or compile- time. The LicenseProvider attribute does not seem to...
2
1305
by: Marina | last post by:
Anyone know of any 3rd party components that can allow for programmatic merging of Word documents? Also one that does the same for Excel spreadsheets? Really looking for something that can just append one document to the other. Don't want to have MS Office installed on the server, need a component that can be shipped, preferrebly with a redistributable license. Thanks.
0
1269
by: stew_mclean | last post by:
Hi, I've developed a class that derives from component (rather than a control), and am trying to license it at design time. I've set the license attributes etc. to my custom license provider: The problem is that my license provider never gets called at designtime. To prove this, I've put this code into the implementation
3
1224
by: Shapper | last post by:
Hello, Could someone point me a good validation control for ASP.Net? Thank You, Miguel
0
1363
by: TJS | last post by:
anybody familiar with this component and how to use it ? The author no longer supports it but it is still freely available. I am hoping to find some working examples or brief set of steps for implementation. Each time I try to use the example I get this error: ======================================================= Compiler Error Message: CS0246: The type or namespace name 'Demo' could not be found (are you missing a using directive...
12
1791
by: Mitchell Vincent | last post by:
As the subject suggests, I'm looking for a compression and encryption component(s) for use with VB.NET. I would rather then be all managed code but will use ActiveX/COM if I have to.. Price is important, the budget is under $400 for both for a single developer license.. Any and all suggestions are welcome! Thanks! -- - Mitchell
122
7450
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection outside of that class. This structured way allows visual tools to host components, and allows programmers to build applications and libraries visually in a RAD environment. The Java language has JavaBeans as its component model which allows Java...
6
4602
by: ptek | last post by:
Hello all, I'm looking for a free libray for plotting 2D charts that can be integrable on C# or C++ projects under visual studio (.NET ou VS6.0). I searched using google and yahoo but I didn't find any free package. I found the Ch package from SoftIntegration (that can be integrable in my project, sort of) but the plot module needs is not 0 cost and looks a bit ugly.
2
1066
by: chehreghany | last post by:
I have X-component component with out license. where can I find free license?
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10507
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10255
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10036
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7582
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6815
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4150
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3765
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2948
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.