Solved

how can i create license for my C#.net window application ??

Posted on 2011-02-17
5
1,711 Views
Last Modified: 2012-05-11
i want to create license for my C#.net window application ...
every 6 months license expired and first 30 days subscription .
means user can use my application for 30 days only then he/she can't ...

how can i create license for my C#.net windows application ??
0
Comment
Question by:Parth48
[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
5 Comments
 

Author Comment

by:Parth48
ID: 34923532
create class for license and use it for whole application ...
0
 
LVL 8

Expert Comment

by:jimsweb
ID: 34923542
or you can go with advanced techniques like checking for hard disk serial number, processor ID etc..

http://www.eggheadcafe.com/community/aspnet/2/10111384/hard-disk-serial-number.aspx
0
 
LVL 19

Expert Comment

by:Manoj Patil
ID: 34924006
Hi, you can create this type of application by using Hardware ID. For more details please check following link

http://www.codeproject.com/KB/cs/hard_disk_serialno.aspx
0
 
LVL 10

Accepted Solution

by:
John Claes earned 500 total points
ID: 34924104
Installing :
******************************************************************************
Request all Disk info
(using http://www.codeproject.com/KB/cs/hard_disk_serialno.aspx)

Add Date Of installation +30 days

Save data in Licence file (Decrypted with own decrypter/Encrypter)


Licence Demand
********************************************************************************
Give user possiblity to demand Licence : send  Licence file to you
Encrypt File :
Change Date Of Installation to today + 6 months
Respond with altered Licence file



You're program should check:
*************************************************************************
On startup :
Get Licence File
Request all Disk info
(using http://www.codeproject.com/KB/cs/hard_disk_serialno.aspx)

If Disk Info of x-1 on x of the Disks is OK (Can Occure that HD is changed otherwise all disks are OK)
So every disk must be the same only 1 may fail

Check date.

If in case 1 Disk Failed : rewrite Licence File :


This way the folowing check will not fail ;-)
and the user sees a changing licence File so he won't hastly edit in it


regards
poor beggar


0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

734 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