473,320 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

License mechanism for my application

Hi

I would like to integrate a license mechanism into my application. How can I
do that?
The application should run only 30 days, if the user hasn't a valid license!
Then, he has to insert a valid lincse to use the application again.

Can anyone help me?

Thanks
Dominik
Dec 11 '05 #1
4 2286
The way I did it is simple. When the application start, it checks if a valid
license has been entered. If not, it asks for one with the option to try for
30 days. If the user clicks on try for 30 days, the app checks if a date has
been inserted (somewhere in the registry, crypted). If one is found, do the
interval (timespan) between now and the said date. If not found, insert one.

As for the serial, key or license (whatever you call it), I broke some
informations down to the bit and reconstructed them back to what I need to
generate a good serial. I think it's the usual way of doing it.

I hope it helps
"Zemp Dominik" <ze**********@nospam.ecreation.ch> a écrit dans le message de
news: A0**********************************@microsoft.com...
Hi

I would like to integrate a license mechanism into my application. How can
I
do that?
The application should run only 30 days, if the user hasn't a valid
license!
Then, he has to insert a valid lincse to use the application again.

Can anyone help me?

Thanks
Dominik

Dec 12 '05 #2
Hello Zemp,

Use "Shareware Started Kit" http://sharewarestarterkit.com/

ZD> I would like to integrate a license mechanism into my application.
ZD> How can I do that? The application should run only 30 days, if the
ZD> user hasn't a valid license! Then, he has to insert a valid lincse
ZD> to use the application again.

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Dec 12 '05 #3
Hi

Is there no simpler example without a Web Service? :-)

Thanks
Dominik

"Michael Nemtsev" wrote:
Hello Zemp,

Use "Shareware Started Kit" http://sharewarestarterkit.com/

ZD> I would like to integrate a license mechanism into my application.
ZD> How can I do that? The application should run only 30 days, if the
ZD> user hasn't a valid license! Then, he has to insert a valid lincse
ZD> to use the application again.

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Dec 12 '05 #4
"Zemp Dominik" <ze**********@nospam.ecreation.ch> wrote in message
news:59**********************************@microsof t.com...
Hi

Is there no simpler example without a Web Service? :-)
How about this:

http://www.codeproject.com/dotnet/xmldsiglic.asp


Thanks
Dominik

"Michael Nemtsev" wrote:
Hello Zemp,

Use "Shareware Started Kit" http://sharewarestarterkit.com/

ZD> I would like to integrate a license mechanism into my application.
ZD> How can I do that? The application should run only 30 days, if the
ZD> user hasn't a valid license! Then, he has to insert a valid lincse
ZD> to use the application again.

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do
not
cease to be insipid." (c) Friedrich Nietzsche

Dec 14 '05 #5

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

Similar topics

8
by: madcap | last post by:
Hi, Our company was looking for contract programmer to develop an internet/intranet application. We were approached by a freelancer who have quite a lot experience and his resume was...
1
by: Mark Ramey | last post by:
I have an assembly that I want to license to developers. I don't want to license the runtimes that they deliver to their customers. There are no real design-time controls, only some classes that...
1
by: askvinod | last post by:
I want to write a License Generator for my company which has 10-15 products. Can I write Secure License generator thru .NET. What is the requirement. I also want some mechanism so that customers...
0
by: morgal | last post by:
That is one reason I quit using MS custom controls, you have to buy the license. In VB 6 they give you a try it license and then you develop a huge application or small one and find out you don't...
0
by: Robert Warnestam | last post by:
Hello, I have some problems deploying Crystal Reports. I'm using Visual Studio 2005 Beta 1. In this version Crystal Reports (9.7.3500.0) is included. I created a small test application...
5
by: Nak | last post by:
Hi there, I just made my own license provider (at last!) that uses signed XML license files. When the license provider gets the license it does the following, *At runtime 1) Gets the...
2
by: Smile_7 | last post by:
Hello: I am using some 3rd party assemblies that require a license file. If I create a new project inside visual studios and compile the application, I have no problems but my project requires...
6
by: Joe | last post by:
Sorry this is OT... I'm looking for recommendations for generating license keys (machine specific) for our application. I was looking at Quick Licenses Manager which looks pretty good. Is...
5
maliksleo
by: maliksleo | last post by:
Hi i designed a web application and now i want to design licensing mechanism for my application. But how i can do it? i am not getting any clue if any body help me in this i will be greatfull ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.